You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/05 16:59:33 UTC

[whimsy.git] [1/1] Commit 7109426: add counts

Commit 7109426eed09f8a5316eb28173c811f06e153133:
    add counts


Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/members/nominations.cgi                                  | +++++ 
------------------------------------------------------------
5 changes: 5 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 3ef6404..3e09260 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -55,6 +55,7 @@ _html do
     .flexitem {flex-grow: 1}
     .flexitem:first-child {order: 2}
     .flexitem:last-child {order: 1}
+    .count {margin-left: 4em}
   }
 
   # common banner
@@ -70,6 +71,8 @@ _html do
         _a 'svn', href: File.join(svnurl, 'nominated-members.txt')
       end
 
+      _p.count "Count: #{nominations.count}"
+
       _ul nominations.sort_by {|person| person[:name]} do |person|
         _li! do
           match = /\b#{person[:name]}\b/i
@@ -91,6 +94,8 @@ _html do
         _ " nominations reports"
       end
 
+      _p.count "Count: #{emails.count}"
+
       # attempt to sort reports by PMC name
       emails.sort_by! do |mail| 
         mail.subject.downcase.gsub('- ', '')