diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 11:44:49 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-08 11:44:49 +1100 |
commit | 257893eec4fd75fb56d72efc8d09700e3c6a948a (patch) | |
tree | 52d7ec8c29ea915d82de6f4cd3931cc08ee28932 | |
parent | 5dd7ef4d9865f76782f699d565004f2bbd771853 (diff) |
Update admin timeline with new consistent link format
-rw-r--r-- | app/views/admin_general/timeline.rhtml | 6 |
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 %> |