diff options
-rwxr-xr-x | app/helpers/link_to_helper.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 15cce39eb..9657845e0 100755 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -27,7 +27,8 @@ module LinkToHelper end def request_both_links(info_request) - link_to(h(info_request.title), request_url(info_request)) + " (" + link_to("admin", admin_request_show_url(info_request)) + ")" + link_to('<i class="icon-eye-open"></i>'.html_safe, request_path(info_request)) + " " + + link_to(info_request.title, admin_request_show_url(info_request)) end def request_details_path(info_request) @@ -95,7 +96,8 @@ module LinkToHelper end def public_body_both_links(public_body) - link_to(h(public_body.name), public_body_url(public_body)) + " (" + link_to("admin", admin_body_show_url(public_body)) + ")" + link_to('<i class="icon-eye-open"></i>'.html_safe, public_body_url(@blank_contact)) + " " + + link_to(h(@blank_contact.name), admin_body_show_path(@blank_contact)) end # Users |