aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/admin_general/timeline.rhtml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/admin_general/timeline.rhtml b/app/views/admin_general/timeline.rhtml
index ec5b860e5..9b9f0918e 100644
--- a/app/views/admin_general/timeline.rhtml
+++ b/app/views/admin_general/timeline.rhtml
@@ -31,8 +31,7 @@
<%= simple_time(event_at) %>
<% if event.is_a? InfoRequestEvent %>
- <%= link_to('<i class="icon-tags"></i>'.html_safe, admin_request_show_url(event.info_request), :title => "view full details")%>
- <%= link_to(event.info_request.title, request_path(event.info_request), :title => "view request on public website")%>
+ <%= request_both_links(event.info_request) %>
<% if event.event_type == 'edit' %>
was edited by administrator <strong><%=h event.params[:editor] %></strong>.
@@ -95,8 +94,7 @@
had '<%=event.event_type%>' done to it, parameters <%=h event.params_yaml%>.
<% end %>
<% else %>
- <%= link_to('<i class="icon-tags"></i>'.html_safe, admin_body_show_path(event.public_body), :title => "view full details")%>
- <%= link_to(event.public_body.name, public_body_path(event.public_body), :title => "view authority on public website")%>
+ <%= public_body_both_links(event.public_body) %>
was created/updated by administrator <strong><%=h event.last_edit_editor %></strong>
<% end %>
<% end %>