[Rt-commit] r18708 - rt/3.8/trunk/share/html/Admin/Elements

elacour at bestpractical.com elacour at bestpractical.com
Thu Mar 5 12:24:21 EST 2009


Author: elacour
Date: Thu Mar  5 12:24:20 2009
New Revision: 18708

Modified:
   rt/3.8/trunk/share/html/Admin/Elements/SelectRights

Log:
Add title="localized right description" in SelectRight options so it's possible
to see the description when the cursor is other the option :)

Modified: rt/3.8/trunk/share/html/Admin/Elements/SelectRights
==============================================================================
--- rt/3.8/trunk/share/html/Admin/Elements/SelectRights	(original)
+++ rt/3.8/trunk/share/html/Admin/Elements/SelectRights	Thu Mar  5 12:24:20 2009
@@ -72,7 +72,7 @@
 <h3><&|/l&>New rights</&></h3> 
 <select size="5" multiple="multiple" name="GrantRight-<%$ACLDesc%>">
 % foreach my $pair (sort { $a->[1] cmp $b->[1] } map [$_, loc($_)], grep !$current_rights{$_}, keys %Rights) {
-      <option value="<% $pair->[0] %>"><% $pair->[1] %></option>
+      <option value="<% $pair->[0] %>" title="<% loc($Rights{$pair->[0]}) %>"><% $pair->[1] %></option>
 % }
 <option value="" selected="selected"><&|/l&>(no value)</&></option>
 </select>


More information about the Rt-commit mailing list