diff options
author | francis <francis> | 2007-12-18 12:26:03 +0000 |
---|---|---|
committer | francis <francis> | 2007-12-18 12:26:03 +0000 |
commit | 21ded8f6d30865c2b13949902308b39d1ddbcd4e (patch) | |
tree | 162f76fdcadd805ab680332e8252247bff137093 | |
parent | 1fe0610ff3f77d4222dae203f988f1b5d19bff32 (diff) |
Link to public page.
-rw-r--r-- | app/views/admin_public_body/show.rhtml | 5 | ||||
-rw-r--r-- | app/views/admin_request/show.rhtml | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/views/admin_public_body/show.rhtml b/app/views/admin_public_body/show.rhtml index e5132528c..473269806 100644 --- a/app/views/admin_public_body/show.rhtml +++ b/app/views/admin_public_body/show.rhtml @@ -7,10 +7,10 @@ <b><%= column.human_name %>:</b> <%=h @public_body.send(column.name) %> <br/> <% end %> +<b>Public link:</b> <%= public_body_link(@public_body) %> <br> </p> -<%= link_to 'Edit', '../edit/' + @public_body.id.to_s %> | -<%= link_to 'List all', '../list' %> +<%= link_to 'Edit', '../edit/' + @public_body.id.to_s %> <h2>History</h2> <table border="1"> @@ -36,3 +36,4 @@ </tr> <% end %> </table> + diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index e9f5ba59a..4352a9522 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -7,8 +7,11 @@ <b><%= column.human_name %>:</b> <%=h @info_request.send(column.name) %> <br/> <% end %> +<b>Public body:</b> <%=h @info_request.public_body.name %> <br> +<b>Public link:</b> <%= request_link(@info_request) %> <br> </p> + <h2>Outgoing messages</h2> <table> |