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.

пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 5 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
пре 6 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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'])