diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/body/list.rhtml | 11 | ||||
-rw-r--r-- | app/views/general/frontpage.rhtml | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/app/views/body/list.rhtml b/app/views/body/list.rhtml index ddc3e0fd4..3d996d993 100644 --- a/app/views/body/list.rhtml +++ b/app/views/body/list.rhtml @@ -1,14 +1,21 @@ +<div id="body_sidebar"> +<h1>Show only...</h1> <p> -Show only: +<ul> <% for category, description in PublicBody.categories_by_tag %> -<%= link_to_unless (@tag == category), description, list_public_bodies_url(:tag => category) %> +<li> + <%= link_to_unless (@tag == category), description, list_public_bodies_url(:tag => category) %> +</li> <% end %> +</ul> </p> <p> <a href="/help/about#missing_body">Are we missing a public body?</a> </p> +</div> + <% @title = "Public bodies - " + @description %> <h1><%=@title%></h1> diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml index 4641f683b..0ce16768d 100644 --- a/app/views/general/frontpage.rhtml +++ b/app/views/general/frontpage.rhtml @@ -6,7 +6,7 @@ <% if @public_bodies.size == 0 and @query_made %> <div id="error"> Sorry! We couldn't find any public bodies with that in their names. - Either <a href="/body">browse them all</a> or + Either <a href="/body/list/department">browse them all</a> or <a href="/help/contact">ask us to add the one you want</a>. </div> <% end %> @@ -51,7 +51,7 @@ <% end %> <p> - Can't find it? <a href="/body">Browse all</a> or <a href="/help/contact">ask us to add it</a>. + Can't find it? <a href="/body/list/department">Browse all</a> or <a href="/help/contact">ask us to add it</a>. </p> <% end %> </div> |