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.
 
 
 
 
 

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