diff options
author | francis <francis> | 2008-10-03 10:55:40 +0000 |
---|---|---|
committer | francis <francis> | 2008-10-03 10:55:40 +0000 |
commit | 7b0a69b450b31f5ad5a45c9c637c641f04e1cac4 (patch) | |
tree | 248f7e167b117039ea5ec62d68aa4a63e77d1510 | |
parent | 4f02cb989cd3eb0f01bd6dad1d13400f57c1e745 (diff) |
Move admin link so clearly associated with the request, not the body or user
-rw-r--r-- | app/views/request/show.rhtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index a806434c4..644330a21 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -41,13 +41,15 @@ <div id="request_main"> <h1><%=@title%></h1> - <p class="subtitle"><%=h @info_request.law_used_with_a%> to + <p class="subtitle"> + <%=h @info_request.law_used_with_a%> + <% if !@user.nil? && @user.admin_page_links? %> + (<%= link_to "admin", request_admin_url(@info_request) %>) + <% end %> + to <%= public_body_link(@info_request.public_body) %> by <%= user_link(@info_request.user) %> - <% if !@user.nil? && @user.admin_page_links? %> - (<%= link_to "admin", request_admin_url(@info_request) %>) - <% end %> </p> <p id="request_status"> |