diff options
-rw-r--r-- | app/views/admin_general/index.rhtml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/app/views/admin_general/index.rhtml b/app/views/admin_general/index.rhtml index 362aead5f..9da391e21 100644 --- a/app/views/admin_general/index.rhtml +++ b/app/views/admin_general/index.rhtml @@ -63,8 +63,7 @@ <% for @request in @error_message_requests %> <tr> <td class="link"> - <%= link_to('<i class="icon-eye-open"></i>'.html_safe, request_path(@request)) %> - <%= link_to(@request.title, admin_request_show_url(@request))%> + <%= request_both_links(@request) %> </td> <td class="span2"> <%=simple_date(@request.get_last_event.created_at)%> @@ -89,8 +88,7 @@ <% for @request in @attention_requests %> <tr> <td class="link"> - <%= link_to('<i class="icon-tags"></i>'.html_safe, admin_request_show_url(@request))%> - <%= link_to(@request.title, request_path(@request)) %> + <%= request_both_links(@request) %> </td> <td class="span2"> <%=simple_date(@request.get_last_event.created_at)%> @@ -114,8 +112,7 @@ <% for @request in @requires_admin_requests %> <tr> <td class="link"> - <%= link_to('<i class="icon-tags"></i>'.html_safe, admin_request_show_url(@request))%> - <%= link_to(@request.title, request_path(@request)) %> + <%= request_both_links(@request) %> </td> <td class="span2"> <%=simple_date(@request.get_last_event.created_at)%> @@ -139,8 +136,7 @@ <% for @blank_contact in @blank_contacts %> <tr> <td class="link"> - <%= link_to('<i class="icon-tags"></i>'.html_safe, admin_body_show_path(@blank_contact))%> - <%= link_to h(@blank_contact.name), public_body_url(@blank_contact) %> + <%= public_body_both_links(@blank_contact) %> </td> <td class="span2"> <%=simple_date(@blank_contact.updated_at)%> @@ -164,8 +160,7 @@ <% for @request in @old_unclassified %> <tr> <td class="link"> - <%= link_to("<i class='icon-tags'></i>".html_safe, admin_request_show_url(@request)) %> - <%= link_to(@request.title, request_path(@request)) %> + <%= request_both_links(@request) %> </td> <td class="span2"> <%=simple_date(@request.get_last_response_event.created_at)%> |