You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/05/05 21:29:45 UTC

[whimsy] branch master updated: Have a title for the remainder

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 baf50d2  Have a title for the remainder
baf50d2 is described below

commit baf50d2e1f19a74540ac8d51802f3b5423938cbc
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Sun May 5 17:29:38 2019 -0400

    Have a title for the remainder
---
 www/members/logs.cgi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/members/logs.cgi b/www/members/logs.cgi
index 5009fcb..3771407 100755
--- a/www/members/logs.cgi
+++ b/www/members/logs.cgi
@@ -66,10 +66,11 @@ def display_access()
     _a 'See the full server logs directory.', href: '/members/log'
   end 
   _h2 'Access Log Synopsis - by Path or Tool'
-  tmp = 'applist'
-  _div.panel_group id: tmp, role: 'tablist', aria_multiselectable: 'true' do
+  listid = 'applist'
+  _div.panel_group id: listid, role: 'tablist', aria_multiselectable: 'true' do
     apps.each_with_index do |(name, data), n|
-      _whimsy_accordion_item(listid: tmp, itemid: name, itemtitle: "#{LogParser::WHIMSY_APPS[name]}", n: n, itemclass: 'panel-info') do
+      itemtitle = LogParser::WHIMSY_APPS[name] ? LogParser::WHIMSY_APPS[name] : 'All Other URLs'
+      _whimsy_accordion_item(listid: listid, itemid: name, itemtitle: "#{itemtitle}", n: n, itemclass: 'panel-info') do
         _table.table.table_hover.table_striped do
           _thead_ do
             _tr do