You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/03/09 23:47:57 UTC

[whimsy] branch master updated: Add hardcoded list of proxies available

This is an automated email from the ASF dual-hosted git repository.

curcuru 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 1757d0d  Add hardcoded list of proxies available
1757d0d is described below

commit 1757d0d77ab609878879007e56f605a8878f355e
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Sat Mar 9 18:47:45 2019 -0500

    Add hardcoded list of proxies available
---
 www/members/proxy.cgi | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi
index 9cdf3bb..478c1cd 100755
--- a/www/members/proxy.cgi
+++ b/www/members/proxy.cgi
@@ -8,6 +8,14 @@ require 'tmpdir'
 
 MEETINGS = ASF::SVN['Meetings']
 meeting = File.basename(Dir[File.join(MEETINGS, '2*')].sort.last).untaint
+volunteers = [
+  "Phil Steitz (psteitz)",
+  "Shane Curcuru (curcuru)",
+  "Michael Brohl (mbrohl)",
+  "Jim Jagielski (jim)",
+  "Daniel Ruggeri (druggeri)",
+  "Greg Stein (gstein)"
+]
 
 # Calculate how many members required to attend first half for quorum
 def calculate_quorum(meeting)
@@ -102,11 +110,6 @@ _html do
               _ " Calculation: Total voting members: #{num_members}, with one third for quorum: #{quorum_need}, minus previously submitted proxies: #{num_proxies}"
             end
           end
-          _p %{
-            IMPORTANT! Be sure to tell the person that you select as proxy 
-            that you've assigned them to mark your attendance! They simply 
-            need to mark your proxy attendance when the meeting starts.
-          }
           help, copypasta = is_user_proxied(meeting, $USER)
           if help
             _p help
@@ -117,8 +120,18 @@ _html do
                 end
               end
             end
+          else
+            _p 'The following members have volunteered to serve as proxies; you can freely select any one of them below:'
+            _ul do
+              volunteers.each do |vol|
+                _pre vol
+              end
+            end
+          end
+          _p do
+            _ "IMPORTANT! Be sure to tell the person that you select as proxy that you've assigned them to mark your attendance! They simply need to mark your proxy attendance when the meeting starts."
+            _a 'Read full procedures for Member Meeting', href: 'https://www.apache.org/foundation/governance/members.html#meetings'
           end
-          _a 'Read full procedures for Member Meeting', href: 'https://www.apache.org/foundation/governance/members.html#meetings'
         end
       end