Browse Source

Tweak templates

main
Adrian Short 5 years ago
parent
commit
cfb0fca2d3
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      views/authorities.haml
  2. +4
    -2
      views/authority.haml

+ 1
- 1
views/authorities.haml View File

@@ -4,5 +4,5 @@
- auths.each do |auth| - auths.each do |auth|
%tr %tr
%td %td
%a{ :href => slug(auth['authority_name']) }
%a{ :href => authority_url(auth['authority_name']) }
= auth['authority_name'] = auth['authority_name']

+ 4
- 2
views/authority.haml View File

@@ -2,6 +2,8 @@


%h2 Summary %h2 Summary


%p.warning There are typically two applications per kiosk: one for full planning permission or telecoms prior approval, and one for advertisement consent. So the number of kiosks applied for is half the number of applications.

%table %table
%thead %thead
%tr %tr
@@ -9,7 +11,7 @@
%th Decision %th Decision
%th Appeal status %th Appeal status
%th Appeal decision %th Appeal decision
%th Quantity
%th Applications
%tbody %tbody
- summary.each do |row| - summary.each do |row|
%tr %tr
@@ -17,7 +19,7 @@
%td= cleanup(row['decision']) %td= cleanup(row['decision'])
%td= cleanup(row['appeal_status']) %td= cleanup(row['appeal_status'])
%td= cleanup(row['appeal_decision']) %td= cleanup(row['appeal_decision'])
%td= row['qty']
%td.right= row['qty']


%h2 Applications %h2 Applications




Loading…
Cancel
Save