You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/25 16:26:18 UTC

[whimsy] branch master updated: small tweaks

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

rubys 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  4b96890   small tweaks
4b96890 is described below

commit 4b9689099ccf1c610716a667dbd92ba289b4ca04
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Apr 25 12:25:32 2017 -0400

    small tweaks
    
    - new line for status boxes
    - word literal more trouble than it is worth in this case
---
 tools/site-check.rb     | 2 +-
 www/test/site-check.cgi | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/site-check.rb b/tools/site-check.rb
index 96668a4..2052589 100755
--- a/tools/site-check.rb
+++ b/tools/site-check.rb
@@ -77,7 +77,7 @@ def parse(site, name)
       data[:security] = uri + a['href'].strip 
     end
 
-    if %w(sponsorship donate).concat(['sponsor apache','sponsoring apache']).include? a_text
+    if ['sponsorship', 'donate', 'sponsor apache','sponsoring apache'].include? a_text
       data[:sponsorship] = uri + a['href'].strip
     end
   end
diff --git a/www/test/site-check.cgi b/www/test/site-check.cgi
index 3f32db1..9027322 100755
--- a/www/test/site-check.cgi
+++ b/www/test/site-check.cgi
@@ -84,6 +84,7 @@ _html do
             cols.each do |col|
               _th! data_sort: 'string' do 
                 _ col.capitalize
+                _br
                 analysis[0][col].each do |cls, val|
                   _ ' '
                   _span.label val, class: cls

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].