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 969ba12 Fix link
969ba12 is described below
commit 969ba1299a7218a185529d8a2c3ef2e8594067e2
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 11 23:20:58 2019 +0000
Fix link
---
www/secretary/ldap-check.cgi | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/secretary/ldap-check.cgi b/www/secretary/ldap-check.cgi
index d92e256..5378de8 100755
--- a/www/secretary/ldap-check.cgi
+++ b/www/secretary/ldap-check.cgi
@@ -68,10 +68,12 @@ _html do
cttee = ASF::Committee.find(p.name)
# Is this a real PMC?
if ASF::Committee.pmcs.include? cttee
+ isPMC = true
cm = cttee.roster.keys
cm_po = cm - po
po_cm = po - cm
else
+ isPMC = false
cm_po = []
po_cm = []
end
@@ -81,7 +83,11 @@ _html do
if po_pm.size > 0 or cm_po.size > 0 or po_cm.size > 0 or notc.size > 0
_tr do
_td do
- _a p.name, href: '/roster/committee/' + p.name
+ if isPMC
+ _a p.name, href: '/roster/committee/' + p.name
+ else
+ _a p.name, href: '/roster/ppmc/' + p.name
+ end
end
_td do
cm_po.each do |id|