diff options
author | mark <mark> | 2011-02-17 03:47:50 +0000 |
---|---|---|
committer | mark <mark> | 2011-02-17 03:47:50 +0000 |
commit | 90edd8a914fd484e649fb0aa051dce7927bd6881 (patch) | |
tree | 24e53dc621cd3825d00a78ad51908cab0906cf3c /rt/share/html/Elements/EditCustomFieldTimeValue | |
parent | 01352af8e44b7eb70b2b587ca43ab7ca946f038d (diff) |
TimeWorked-like custom fields, RT#11168
Diffstat (limited to 'rt/share/html/Elements/EditCustomFieldTimeValue')
-rw-r--r-- | rt/share/html/Elements/EditCustomFieldTimeValue | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rt/share/html/Elements/EditCustomFieldTimeValue b/rt/share/html/Elements/EditCustomFieldTimeValue new file mode 100644 index 000000000..064554594 --- /dev/null +++ b/rt/share/html/Elements/EditCustomFieldTimeValue @@ -0,0 +1,16 @@ +% my $name = $NamePrefix . $CustomField->Id . '-Value'; +% if ($Multiple) { +% $RT::Logger->error("TimeValue Multiple custom field not supported"); +% return; +% } +<& /Elements/EditTimeValue, + Name => $name, + Default => $Default, + InUnits => $ARGS{"$name-TimeUnits"} || 'minutes', +&> +<%ARGS> +$CustomField => undef +$NamePrefix => undef +$Default => undef +$Multiple => undef +</%ARGS> |