diff --git a/lib/helpers.rb b/lib/helpers.rb index dd6a92e..22a7302 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -8,7 +8,7 @@ def cleanup(s) s.sub!('Unknown', '') s.sub!('Not Available', '') s.sub!('Not Applicable', '') - s = "#{s}" if s.match(/(approve|grant)/i) + s = "#{s}" if s.match(/(approve|grant|permitted)/i) s = "#{s}" if s.match(/refuse/i) s end diff --git a/public/style.css b/public/style.css index 316f201..03df804 100644 --- a/public/style.css +++ b/public/style.css @@ -145,6 +145,8 @@ tr border-bottom: 1px solid #eee; } +tbody tr:hover { background-color: beige; } + nav { font-size: 85%; diff --git a/views/authority.haml b/views/authority.haml index 59f8c47..6178193 100644 --- a/views/authority.haml +++ b/views/authority.haml @@ -38,7 +38,7 @@ %th Decision - apps.each do |app| %tr - %td= short_date(app['date_received']) + %td.nowrap= short_date(app['date_received']) %td %a{ href: app['info_url']} = app['council_reference']