[Rt-commit] r2311 - in rt/branches/QUEBEC-EXPERIMENTAL/html: Elements Widgets

clkao at bestpractical.com clkao at bestpractical.com
Mon Mar 7 13:47:39 EST 2005


Author: clkao
Date: Mon Mar  7 13:47:39 2005
New Revision: 2311

Modified:
   rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/MySupportQueues
   rt/branches/QUEBEC-EXPERIMENTAL/html/Widgets/SelectionBox
Log:
Proper locs.

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/MySupportQueues
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/MySupportQueues	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/MySupportQueues	Mon Mar  7 13:47:39 2005
@@ -43,7 +43,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<&|/Elements/TitleBox, title => loc("My support queues"), bodyclass => "" &>
+<&|/Elements/TitleBox, title => loc("Queues I'm an AdminCc for"), bodyclass => "" &>
 <& /Elements/QueueSummary,
    cache => 'my_support_queues',
    queue_filter => sub { $_->IsAdminCc($session{'CurrentUser'}->Id) },

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Widgets/SelectionBox
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Widgets/SelectionBox	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Widgets/SelectionBox	Mon Mar  7 13:47:39 2005
@@ -166,15 +166,15 @@
 </%method>
 
 <%method show>
-<h2><% $name %></h2>
+<h2><% loc($name) %></h2>
 <FORM METHOD="POST" ACTION="<%$self->{Action}%>" name="SelectionBox-<% $name %>" id="SelectionBox-<% $name %>">
 <input type="hidden" name="<% $self->{Name} %>-Submit" value="1">
 <& SelectionBox:current, self => $self &>
 <input type="hidden" name="referer" value="<%$ARGS{'referer'}%>">
 <input type="hidden" name="fromjs" value="0">
-Available:
+<&|/l&>Available</&>:
 % if ($self->{Modified}) {
-<b>(Modified, Please save)</b>
+<b><&|/l&>(Modified, Please save)</&></b>
 % }
 <br>
 <select name="<%$name%>-Available" multiple >
@@ -195,7 +195,7 @@
  <input name="moveup" type="submit" value="^"/>
  <input name="movedown" type="submit" value="v"/>
  <input name="remove" type="submit" value="X"/>
- <input name="submit" type="submit" value="Save"/>
+ <input name="submit" type="submit" value="<&|/l&>Save</&>"/>
 
 %# the save button does not work because it's not direct child of the form element
 %#<& /Elements/Submit, Caption => loc("Save"), Label => loc('Save'), Name => $name.'-Save' &>


More information about the Rt-commit mailing list