aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/public_body
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/public_body')
-rw-r--r--app/views/public_body/_body_listing_single.rhtml4
-rw-r--r--app/views/public_body/list.rhtml9
-rw-r--r--app/views/public_body/show.rhtml6
3 files changed, 12 insertions, 7 deletions
diff --git a/app/views/public_body/_body_listing_single.rhtml b/app/views/public_body/_body_listing_single.rhtml
index 7637a1077..b01d2ebb2 100644
--- a/app/views/public_body/_body_listing_single.rhtml
+++ b/app/views/public_body/_body_listing_single.rhtml
@@ -23,7 +23,9 @@
<%= link_to _("Make your own request"), public_body_url(public_body) %>.
<% end %>
<br>
- <%= _("Added on {{date}}", :date => simple_date(public_body.created_at)) %>.
+ <span class="date_added">
+ <%= _("Added on {{date}}", :date => simple_date(public_body.created_at)) %>.
+ </span>
</span>
</div>
diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml
index 81593fcc7..af91d8ed2 100644
--- a/app/views/public_body/list.rhtml
+++ b/app/views/public_body/list.rhtml
@@ -4,8 +4,8 @@
<h3><%=_('Beginning with') %></h3>
<ul><li>
<%= render :partial => 'alphabet' %>
- </li></ul>
-
+ </li>
+ </ul>
<% first_row = true %>
<% for row in PublicBodyCategories::get().with_headings() %>
<% if row.instance_of?(Array) %>
@@ -22,8 +22,9 @@
<ul>
<% end %>
<% end %>
- </ul>
-
+ <% if not first_row %>
+ </ul>
+ <% end %>
<p>
<%= _('<a href="%s">Are we missing a public authority?</a>.') % [help_requesting_path + '#missing_body'] %>
</p>
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml
index 2436c58b9..7d37a35a7 100644
--- a/app/views/public_body/show.rhtml
+++ b/app/views/public_body/show.rhtml
@@ -1,4 +1,4 @@
-<% @title = h(@public_body.name) + " - view and make Freedom of Information requests" %>
+<% @title = h(@public_body.name) + _(" - view and make Freedom of Information requests") %>
<div id="main_content">
<div id="header_right">
<h2><%= _('Follow this authority')%></h2>
@@ -67,6 +67,7 @@
</div>
</div>
+ <div id="foi_results_section">
<% if @public_body.info_requests.size == 0 %>
<% if @public_body.eir_only? %>
<h2><%= _('Environmental Information Regulations requests made using this site') %></h2>
@@ -117,5 +118,6 @@
<h2> <%= _('Freedom of Information requests made')%></h2>
<% end %>
<p> <%= _('The search index is currently offline, so we can\'t show the Freedom of Information requests that have been made to this authority.')%></p>
- <% end %>
+ <% end %>
+ </div>
</div>