[Rt-commit] r17957 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Jan 28 04:35:01 EST 2009


Author: sunnavy
Date: Wed Jan 28 04:35:01 2009
New Revision: 17957

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/share/html/Admin/Global/Template.html

Log:
 r19110 at sunnavys-mb:  sunnavy | 2009-01-28 16:41:56 +0800
 merged share/html/Admin/Global/Template.html


Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Admin/Global/Template.html
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Admin/Global/Template.html	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Admin/Global/Template.html	Wed Jan 28 04:35:01 2009
@@ -66,7 +66,7 @@
 <& /Admin/Elements/ModifyTemplate, name => $template_obj->name, description => 
 $template_obj->description, content => $template_obj->content &>
 
-<& /Elements/Submit, label => _('Create'), reset => 1 &>
+<& /Elements/Submit, Label => $SubmitLabel, Reset => 1 &>
 </form>
 
 
@@ -75,7 +75,8 @@
 <%INIT>
 
 my $template_obj = RT::Model::Template->new();
-my  ($title, @results, $current_subtab);
+my  ($title, @results, $current_subtab, $SubmitLabel);
+
 
 my $subtabs = {
 		 A => { title => _('Select template'),
@@ -90,6 +91,7 @@
 if ($create) {
   $current_subtab = "Admin/Global/Template.html?create=1&queue=0";
   $title = _("Create a template");
+  $SubmitLabel = _('Create');
 }
 
 else {
@@ -102,7 +104,7 @@
        $template_obj->load($template) || abort(_('No Template'));
     }
      $title = _('Modify template %1', _($template_obj->name())); 
-  
+     $SubmitLabel = _('Update');
     
 }
 if ($template_obj->id()) {


More information about the Rt-commit mailing list