Planning applications tracker for InLinkUK from BT kiosks. https://kiosks.adrianshort.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
815 B

  1. %h1 Summary
  2. %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.
  3. %p
  4. - csv_fn = 'inlink-summary.csv'
  5. %a.button{ :href => csv_fn, :download => csv_fn }
  6. Download summary CSV data
  7. %table
  8. %thead
  9. %tr
  10. %th Authority
  11. %th Status
  12. %th Decision
  13. %th  
  14. %th  
  15. %th Applications
  16. %tbody
  17. - summary.each do |row|
  18. %tr
  19. %td
  20. %a{ href: authority_url(row['authority_name']) }
  21. = row['authority_name']
  22. %td= row['status']
  23. %td= row['decision']
  24. %td= cleanup(row['appeal_status'])
  25. %td= cleanup(row['appeal_decision'])
  26. %td.right= row['applications']