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.
 
 
 
 
 

45 lines
1.1 KiB

  1. %h1= auth['authority_name']
  2. %h2 Summary
  3. %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.
  4. %table#summary
  5. %thead
  6. %tr
  7. %th Status
  8. %th Decision
  9. %th Appeal status
  10. %th Appeal decision
  11. %th Applications
  12. %tbody
  13. - summary.each do |row|
  14. %tr
  15. %td= cleanup(row['status'])
  16. %td= cleanup(row['decision'])
  17. %td= cleanup(row['appeal_status'])
  18. %td= cleanup(row['appeal_decision'])
  19. %td.right= row['qty']
  20. %h2 Applications
  21. %p= download_button(slug(auth['authority_name']) + '.csv')
  22. %table#applications
  23. %thead
  24. %tr
  25. %th Received
  26. %th Reference
  27. %th Address
  28. %th Status
  29. %th Decision
  30. - apps.each do |app|
  31. %tr
  32. %td.nowrap= short_date(app['date_received'])
  33. %td
  34. %a{ href: app['info_url']}
  35. = app['council_reference']
  36. %td= app['address']
  37. %td= cleanup(app['status'])
  38. %td= cleanup(app['decision'])