You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/08/29 18:27:20 UTC
[whimsy] branch master updated: WHIMSY-291 Graduated podlings
should not be visible...
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 3aa179a WHIMSY-291 Graduated podlings should not be visible...
3aa179a is described below
commit 3aa179a3776dfa37d5b73d5edb26c71baa062dc8
Author: Sebb <se...@apache.org>
AuthorDate: Thu Aug 29 19:27:10 2019 +0100
WHIMSY-291 Graduated podlings should not be visible...
... as https://whimsy.apache.org/roster/ppmc/<name>
---
www/roster/views/ppmc/main.js.rb | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index 99d7cac..6b19a56 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -19,6 +19,19 @@ class PPMC < Vue
@@auth.ipmc = false
end
+ if @ppmc.status == 'graduated'
+ _div.alert.alert_danger do
+ _p do
+ _b 'Warning: '
+ _ 'This podling has graduated - some of the information below will be out of date.'
+ _br
+ _br
+ _ 'Please refer to the main entry: '
+ _a "roster / committee / #{@ppmc.id}", href: "committee/#{@ppmc.id}"
+ end
+ end
+ end
+
# add jump links to main sections of page using Bootstrap nav element
_ul.nav.nav_pills do
_li role: "presentation" do