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:56:57 UTC

[whimsy.git] [1/1] Commit 86ab981: invert order; link to ML; exclude process email

Commit 86ab9817abc0ce07d0e280a4771cb1f3fe3ad45e:
    invert order; link to ML; exclude process email


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                                  | ++++++++ -
------------------------------------------------------------
9 changes: 8 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index fd1ef5b..3ef6404 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -24,6 +24,7 @@ archive.each do |email|
   subject = message[/^Subject: .*/]
   next unless subject.upcase.include? "MEMBER NOMINATION"
   mail = Mail.new(message)
+  next if mail.subject.downcase == 'member nomination process'
   emails << mail if mail.subject =~ /^\[?MEMBER NOMINATION]?/i
 end
 
@@ -52,6 +53,8 @@ _html do
     .missing {background-color: yellow}
     .flexbox {display: flex; flex-flow: row wrap}
     .flexitem {flex-grow: 1}
+    .flexitem:first-child {order: 2}
+    .flexitem:last-child {order: 1}
   }
 
   # common banner
@@ -82,7 +85,11 @@ _html do
     nominations.map! {|person| person[:name].downcase}
 
     _div.flexitem do
-      _h1_.posted! "Posted nominations reports"
+      _h1_.posted! do
+        _a "Posted", href:
+          'https://mail-search.apache.org/members/private-arch/members/'
+        _ " nominations reports"
+      end
 
       # attempt to sort reports by PMC name
       emails.sort_by! do |mail|