diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/public_body/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/select_authority.rhtml | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index 5e6c52984..372a1558c 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -1,7 +1,6 @@ <% @title = h(@public_body.name) + " - view and make Freedom of Information requests" %> <div id="main_content"> <div> -<% unless params[:narrow_layout] # XXX: not ideal %> <div id="header_right"> <h2><%= _('Track this authority')%></h2> <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %> @@ -23,7 +22,6 @@ <% end %> <%= link_to _('View FOI email address'), view_public_body_email_url(@public_body.url_name) %><br> </div> -<% end %> <div id="header_left"> <h1><%=h(@public_body.name)%></h1> diff --git a/app/views/request/select_authority.rhtml b/app/views/request/select_authority.rhtml index 68bb34a64..802fefec6 100644 --- a/app/views/request/select_authority.rhtml +++ b/app/views/request/select_authority.rhtml @@ -13,8 +13,9 @@ // We're using the existing body list: we intercept the clicks on the titles to // display a preview on the right hand side of the screen $("#typeahead_response a").click(function() { - $("#authority_preview").load(this.href+"?narrow_layout=1 #main_content", function() { + $("#authority_preview").load(this.href+" #main_content", function() { $("#authority_preview").show(); + $("#authority_preview #header_right").hide(); }); return false; }); |