An open source, stand-alone, customisable public spending data web app.
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.

scoreboard.haml 663 B

1234567891011121314151617181920212223242526
  1. .grid_12
  2. %h2= @page_title = "Council Spending Data Scoreboard"
  3. %table
  4. %tr
  5. %th Council
  6. %th Data URL
  7. %th Open licence?
  8. %th Machine readable?
  9. %th Start
  10. %th End
  11. %th Updated
  12. - for council in @councils
  13. %tr
  14. %td
  15. %a{ :href => council.url }
  16. = council.name
  17. %td
  18. %a{ :href => council.data_url }
  19. data
  20. %td= yesno(council.open_licence)
  21. %td= yesno(council.machine_readable)
  22. %td= council.start_d.strftime("%b %Y")
  23. %td= council.end_d.strftime("%b %Y")
  24. %td= council.updated_at.strftime("%d %b %Y")