diff options
author | utvk <utvk@users.noreply.github.com> | 2014-03-28 18:36:53 +0100 |
---|---|---|
committer | ut <root@localhost.localdomain> | 2015-12-26 23:30:40 +0100 |
commit | a0463dac75d1f72a5360bc4e59da30b86001a26d (patch) | |
tree | a8bc383b34a5f9f704880a19faa5367c0058a0a8 /lib/views/public_body | |
parent | b9d26de505d296c7e64fa7003c51fdcc82e0a70d (diff) |
Rebased changes from norway
Diffstat (limited to 'lib/views/public_body')
-rw-r--r-- | lib/views/public_body/_alphabet.html.erb | 7 | ||||
-rw-r--r-- | lib/views/public_body/_list_sidebar_extra.html.erb | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/lib/views/public_body/_alphabet.html.erb b/lib/views/public_body/_alphabet.html.erb new file mode 100644 index 0000000..d4c25fd --- /dev/null +++ b/lib/views/public_body/_alphabet.html.erb @@ -0,0 +1,7 @@ +<%- "A".upto("Z") do |l| -%> + <%= link_to_unless (@tag == l), l, list_public_bodies_path(:tag => l.downcase) %> +<% end %> + +<%- ['Æ', 'Ø', 'Å'].each do |l| -%> + <%= link_to_unless (@tag == l), l, list_public_bodies_path(:tag => l.downcase) %> +<% end %> diff --git a/lib/views/public_body/_list_sidebar_extra.html.erb b/lib/views/public_body/_list_sidebar_extra.html.erb new file mode 100644 index 0000000..f307835 --- /dev/null +++ b/lib/views/public_body/_list_sidebar_extra.html.erb @@ -0,0 +1,14 @@ +<% if AlaveteliConfiguration::public_body_statistics_page %> + <p> + <%= link_to _('Public authority statistics'), public_bodies_statistics_path %> + </p> +<% end %> +<p> + <%= link_to _('Are we missing a public authority?'), help_requesting_path + '#missing_body' %> +</p> +<p> + <%= link_to _('List of all authorities (CSV)'), all_public_bodies_csv_path %> +</p> +<p> + <a href="https://github.com/mimesbronn/etatsbasen-data">Informasjon om datakilde</a> +</p> |