Planning applications tracker for InLinkUK from BT kiosks. https://kiosks.adrianshort.org/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

65 рядки
1.5 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 Media
  21. %p
  22. %a{ :rel => 'alternate', :type => 'application/rss+xml', :href => 'media.xml' }
  23. RSS feed for InLinkUK media stories in
  24. = auth['authority_name']
  25. - if stories.size > 0
  26. %table
  27. - stories.each do |item|
  28. %tr
  29. %td.nowrap= short_date(item['publish_date'])
  30. %td.nowrap= item['publication']
  31. %td
  32. %a{ :href => item['url'] }<
  33. = item['title']
  34. - else
  35. %p No media stories.
  36. %h2 Applications
  37. %p= download_button(slug(auth['authority_name']) + '.csv')
  38. %table#applications
  39. %thead
  40. %tr
  41. %th Received
  42. %th Reference
  43. %th Address
  44. %th Status
  45. %th Decision
  46. - apps.each do |app|
  47. %tr
  48. %td.nowrap= short_date(app['date_received'])
  49. %td
  50. %a{ href: app['info_url']}
  51. = app['council_reference']
  52. %td= app['address']
  53. %td= cleanup(app['status'])
  54. %td= cleanup(app['decision'])