whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Remove outdated banner and improve related links
Date Fri, 31 May 2019 18:07:30 GMT
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 342462e  Remove outdated banner and improve related links
342462e is described below

commit 342462e6c1413857ec793bfa35dae102f3027fe5
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Fri May 31 14:07:22 2019 -0400

    Remove outdated banner and improve related links
---
 www/roster/views/groups.html.rb | 46 ++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

diff --git a/www/roster/views/groups.html.rb b/www/roster/views/groups.html.rb
index 4004e31..c380e57 100644
--- a/www/roster/views/groups.html.rb
+++ b/www/roster/views/groups.html.rb
@@ -5,25 +5,19 @@
 _html do
   _base href: '..'
   _link rel: 'stylesheet', href: "stylesheets/app.css?#{cssmtime}"
-
-  _banner breadcrumbs: {
-    roster: '.',
-    group: 'group/'
-  }
   _body? do
     _whimsy_body(
       title: 'ASF Non-PMC Group list',
-      breadcrumbs: {
-        roster: '.',
-        group: 'group/'
-      }
-    ) do
-      # ********************************************************************
-      # *                             Summary                              *
-      # ********************************************************************
-      _div.row do
-        _div.col_md_5 do
-          _div.well.well_sm do
+      relatedtitle: 'See Other Group Listings',
+      related: {
+        "/roster/committee" => "Active projects at the ASF",
+        "/roster/ppmc" => "Active podlings at the ASF",
+        "/roster/nonpmc" => "ASF Committees (non-PMC)",
+        "/roster/orgchart" => "High level org chart",
+      },
+      helpblock: -> {
+        _div.row do
+          _div.col_sm_4 do
             _table.counts do
               @groups.group_by(&:last).sort.each do |name, list|
                 _tr do
@@ -33,16 +27,20 @@ _html do
               end
             end
           end
-        end
-        _div.col_md_6 do
-          _p do
-            _ 'This data is for non-PMC groups, including unix groups and other LDAP groups;
many of which are '
-            _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label:
'ASF Members Private'
-            _ ' private to the ASF.'
+          _div.col_sm_8 do
+            _p do
+              _ 'This data is for non-PMC groups, including unix groups and other LDAP groups;
many of which are '
+              _span.glyphicon.glyphicon_lock :aria_hidden, class: 'text-primary', aria_label:
'ASF Members Private'
+              _ ' private to the ASF.'
+            end
           end
         end
-      end
-
+      },
+      breadcrumbs: {
+        roster: '.',
+        group: 'group/'
+      }
+    ) do
       # ********************************************************************
       # *                          Complete list                           *
       # ********************************************************************


Mime
View raw message