[Rt-commit] rt branch, 4.0/preserve-time-units, updated. rt-4.0.1-217-g31b9d7b
Jason May
jasonmay at bestpractical.com
Wed Aug 17 19:41:22 EDT 2011
The branch, 4.0/preserve-time-units has been updated
via 31b9d7b154968efbbee0864b3ff0523dafb2b608 (commit)
from ace085550ba445431b698827d1eb09b984f14c47 (commit)
Summary of changes:
share/html/m/ticket/create | 6 +++---
share/html/m/ticket/reply | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 31b9d7b154968efbbee0864b3ff0523dafb2b608
Author: Jason May <jasonmay at bestpractical.com>
Date: Wed Aug 17 19:40:06 2011 -0400
Change arguments from InUnits to InputUnits in the modile UI
The EditTimeValue component takes InputUnits, not InUnits.
diff --git a/share/html/m/ticket/create b/share/html/m/ticket/create
index 5ddb6b8..bd65af8 100644
--- a/share/html/m/ticket/create
+++ b/share/html/m/ticket/create
@@ -388,21 +388,21 @@ $showrows->(
"/Elements/EditTimeValue",
Name => 'TimeEstimated',
Default => $ARGS{TimeEstimated} || '',
- InUnits => $ARGS{'TimeEstimated-TimeUnits'}
+ InputUnits => $ARGS{'TimeEstimated-TimeUnits'}
).'</span>',
loc("Time Worked") => '<span class="timefield">'.$m->scomp(
"/Elements/EditTimeValue",
Name => 'TimeWorked',
Default => $ARGS{TimeWorked} || '',
- InUnits => $ARGS{'TimeWorked-TimeUnits'}
+ InputUnits => $ARGS{'TimeWorked-TimeUnits'}
). '</span>',
loc("Time Left") => '<span class="timefield">'.$m->scomp(
"/Elements/EditTimeValue",
Name => 'TimeLeft',
Default => $ARGS{TimeLeft} || '',
- InUnits => $ARGS{'TimeLeft-TimeUnits'}
+ InputUnits => $ARGS{'TimeLeft-TimeUnits'}
).'</span>',
);
diff --git a/share/html/m/ticket/reply b/share/html/m/ticket/reply
index 4aadfe3..9c4a50d 100644
--- a/share/html/m/ticket/reply
+++ b/share/html/m/ticket/reply
@@ -74,7 +74,7 @@
<& /Elements/EditTimeValue,
Name => 'UpdateTimeWorked',
Default => $ARGS{UpdateTimeWorked}||'',
- InUnits => $ARGS{'UpdateTimeWorked-TimeUnits'}||'minutes',
+ InputUnits => $ARGS{'UpdateTimeWorked-TimeUnits'}||'minutes',
&>
</span></div>
<input type="hidden" class="hidden" name="id" value="<%$t->Id%>" /><br />
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list