aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-08 11:36:35 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-08 11:36:39 +1100
commit5dd7ef4d9865f76782f699d565004f2bbd771853 (patch)
treeddd73b01acb4edab82104efe9431aaeefbae14d2
parent2dfdf876e88e881daff3c257adf266c6ce055175 (diff)
Give explanatory titles to links which can be seen on hover
-rw-r--r--app/helpers/admin_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index ed6fc76e1..0f733118f 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -8,13 +8,13 @@ module AdminHelper
end
def request_both_links(info_request)
- link_to(eye_icon, request_path(info_request)) + " " +
- link_to(info_request.title, admin_request_show_url(info_request))
+ link_to(eye_icon, request_path(info_request), :title => "view request on public website") + " " +
+ link_to(info_request.title, admin_request_show_url(info_request), :title => "view full details")
end
def public_body_both_links(public_body)
- link_to(eye_icon, public_body_url(public_body)) + " " +
- link_to(h(public_body.name), admin_body_show_path(public_body))
+ link_to(eye_icon, public_body_url(public_body), :title => "view authority on public website") + " " +
+ link_to(h(public_body.name), admin_body_show_path(public_body), :title => "view full details")
end
def user_both_links(user)