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 e26162b0 Show treasurer and secretary status
e26162b0 is described below

commit e26162b0d69c9f475bbcc6527d420a7ef73fcb8f
Author: Sebb <[email protected]>
AuthorDate: Tue Apr 18 20:05:10 2023 +0100

    Show treasurer and secretary status
---
 www/committers/testauth.cgi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/www/committers/testauth.cgi b/www/committers/testauth.cgi
index 4a6168eb..129451da 100755
--- a/www/committers/testauth.cgi
+++ b/www/committers/testauth.cgi
@@ -29,7 +29,7 @@ _html do
 
     person = ASF::Auth.decode(env)
     _p %{ Your data for meeting: #{File.basename(agendafile)} }
-    _table do
+    _table.table do
       _tr do
         _td 'Your id'
         _td person.id
@@ -45,6 +45,16 @@ _html do
         _td ASF.pmc_chairs.include? person
       end
 
+      _tr do
+        _td 'ASF Treasurer?'
+        _td person.treasurer?
+      end
+
+      _tr do
+        _td 'ASF Secretary?'
+        _td person.secretary?
+      end
+
       _tr do
         _td 'Attending'
         _td roll['people'].keys.include? person.id

Reply via email to