Explorar el Código

Tweak templates

main
Adrian Short hace 6 años
padre
commit
cfb0fca2d3
Se han modificado 2 ficheros con 5 adiciones y 3 borrados
  1. +1
    -1
      views/authorities.haml
  2. +4
    -2
      views/authority.haml

+ 1
- 1
views/authorities.haml Ver fichero

@@ -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 Ver fichero

@@ -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



Cargando…
Cancelar
Guardar