diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/body/_body_listing_single.rhtml | 6 | ||||
-rw-r--r-- | app/views/general/search.rhtml | 2 |
2 files changed, 7 insertions, 1 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> |