diff options
-rw-r--r-- | app/views/body/_body_listing_single.rhtml | 6 | ||||
-rw-r--r-- | app/views/general/search.rhtml | 2 | ||||
-rw-r--r-- | public/stylesheets/main.css | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/app/views/body/_body_listing_single.rhtml b/app/views/body/_body_listing_single.rhtml index dd0ab36c5..13d43641a 100644 --- a/app/views/body/_body_listing_single.rhtml +++ b/app/views/body/_body_listing_single.rhtml @@ -13,7 +13,11 @@ <% end %> </span> <span class="bottomline"> - <%= pluralize(public_body.info_requests.size, "request") %> made. <br> + <%= pluralize(public_body.info_requests.size, "request") %> made. + <% if !@include_request_link_in_authority_listing.nil? %> + <%= link_to "Make your own request", public_body_url(public_body) %>. + <% end %> + <br> Added on <%= simple_date(public_body.created_at) %>. </span> </div> diff --git a/app/views/general/search.rhtml b/app/views/general/search.rhtml index 7a4726f2a..ed2be514b 100644 --- a/app/views/general/search.rhtml +++ b/app/views/general/search.rhtml @@ -9,6 +9,8 @@ <% @title = "Results page " + @page.to_s %> <% end%> +<% @include_request_link_in_authority_listing = true %> + <% if @bodies && (@page == 1 || @xapian_bodies.results.size > 0) %> <div id="stepwise_instructions"> <p><strong>Next, select the public authority you'd like to make the request from.</strong></p> diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 6ea870d61..3e59bb1d2 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -275,14 +275,14 @@ dd { margin: 0.6em 0 2em 4em; width: 33em; } text-align: center; margin: 3em 0em 1em 0em; padding: 1em; - background-color: #e0e0e0; + background-color: #d0d0d0; } #stepwise_instructions { text-align: center; margin: 0em 0em 0em 0em; padding: 0.2em 0em 0.2em 0em; - background-color: #e0e0e0; + background-color: #d0d0d0; } #stepwise_instructions p { @@ -294,14 +294,14 @@ dd { margin: 0.6em 0 2em 4em; width: 33em; } text-align: center; margin: 0em 14em 0em 0em; padding: 1em 1em 1em 1em; - background-color: #e0e0e0; + background-color: #d0d0d0; } #stepwise_make_request_view_email { text-align: center; margin: 0em 0em 0em 0em; padding: 1em 0em 1em 0em; - background-color: #e0e0e0; + background-color: #d0d0d0; } #frontpage_examples div#examples_0 { float: left; |