TPAC: Change title tooltip in results table to useful message user/dbs/tpac_results_title_tooltip
authorDan Scott <dscott@laurentian.ca>
Sun, 11 Dec 2011 23:15:05 +0000 (18:15 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 12 Dec 2011 19:00:31 +0000 (14:00 -0500)
The tooltip that would display when hovering over the title of a result
in the results table was simply the URI-escaped version of the title
text - not particularly helpful. Change this to say "Display record
details" as an actual hint about what action will occur when the user
clicks on a title in the results list.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/result/table.tt2

index a8a277e..130a9e8 100644 (file)
@@ -46,8 +46,9 @@
                                                 name='result_table_title_cell'
                                                 valign="top">
                                                 <div class="bold">
-                                                    <a name='record_[% rec.id %]' title="[% attrs.title | uri %]" name='item_title'
+                                                    <a name='record_[% rec.id %]' name='item_title'
                                                         href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"
+                                                        title="[% l("Display record details") %]"
                                                         class='search_link'>[% attrs.title | html %]</a>
                                                 </div>
                                                 <div>