Pārlūkot izejas kodu

Tweak templates

main
Adrian Short pirms 5 gadiem
vecāks
revīzija
cfb0fca2d3
2 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. +1
    -1
      views/authorities.haml
  2. +4
    -2
      views/authority.haml

+ 1
- 1
views/authorities.haml Parādīt failu

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

+ 4
- 2
views/authority.haml Parādīt failu

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

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

%h2 Applications



Notiek ielāde…
Atcelt
Saglabāt