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.
 
 
 
 
 

43 lines
834 B

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