aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/admin_public_body/show.rhtml5
-rw-r--r--app/views/admin_request/show.rhtml3
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>