whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Show the subscriber counts
Date Tue, 12 Mar 2019 15:38:22 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb 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 4175a7c  Show the subscriber counts
4175a7c is described below

commit 4175a7cd8a842087061396c7c354f37ca01065ee
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Mar 12 15:38:18 2019 +0000

    Show the subscriber counts
---
 www/members/security-subs.cgi | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/www/members/security-subs.cgi b/www/members/security-subs.cgi
index da3f3c8..5f42ed7 100755
--- a/www/members/security-subs.cgi
+++ b/www/members/security-subs.cgi
@@ -31,10 +31,17 @@ _html do
   ) do
     path = ENV['PATH_INFO'].sub('/', '')
     if path == ''
-      _ul.list_group do
-        lists.each do |dom, _|
-          _li.list_group_item do
-            _a dom, href: dom
+      _table.table.table_responsive do
+        _tr do
+          _th.text_right.col_xs_1 'count'
+          _th 'project'
+        end
+        lists.each do |dom, subs|
+          _tr do
+            _td.text_right subs.length
+            _td do
+              _a dom, href: dom
+            end
           end
         end
       end


Mime
View raw message