[freeside-commits] freeside/rt/share/html/Admin/CustomFields Modify.html, 1.4, 1.5
Mark Wells
mark at wavetail.420.am
Wed Feb 16 19:47:52 PST 2011
- Previous message: [freeside-commits] freeside/rt/lib/RT/Interface Web.pm,1.5,1.6
- Next message: [freeside-commits] freeside/rt/lib/RT Attribute_Overlay.pm, 1.1.1.8, 1.2 CustomField_Overlay.pm, 1.3, 1.4 Record.pm, 1.9, 1.10 Ticket_Overlay.pm, 1.17, 1.18 Transaction_Overlay.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/share/html/Admin/CustomFields
In directory wavetail.420.am:/tmp/cvs-serv21777/share/html/Admin/CustomFields
Modified Files:
Modify.html
Log Message:
TimeWorked-like custom fields, RT#11168
Index: Modify.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Admin/CustomFields/Modify.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- Modify.html 17 Feb 2011 00:52:26 -0000 1.4
+++ Modify.html 17 Feb 2011 03:47:50 -0000 1.5
@@ -82,6 +82,14 @@
Default => $CustomFieldObj->LookupType, &>
</td></tr>
+% if ( $CustomFieldObj->Id
+% and $CustomFieldObj->LookupType =~ /RT::Transaction/ ) {
+<tr><td class="label"><&|/l&>Display with</&></td>
+<td><& /Admin/Elements/EditCustomFieldUILocation,
+ CustomField => $CustomFieldObj &>
+</td></tr>
+% }
+
<tr><td class="label"><&|/l&>Validation</&></td>
<td><& /Widgets/ComboBox,
Name => 'Pattern',
@@ -191,6 +199,8 @@
$CustomFieldObj->SetBasedOn( $BasedOn );
+ $CustomFieldObj->SetUILocation( $UILocation );
+
my $paramtag = "CustomField-". $CustomFieldObj->Id ."-Value";
# Delete any fields that want to be deleted
foreach my $key ( keys %ARGS ) {
@@ -267,4 +277,5 @@
$LinkValueTo => undef
$IncludeContentForValue => undef
$BasedOn => undef
+$UILocation => undef
</%ARGS>
- Previous message: [freeside-commits] freeside/rt/lib/RT/Interface Web.pm,1.5,1.6
- Next message: [freeside-commits] freeside/rt/lib/RT Attribute_Overlay.pm, 1.1.1.8, 1.2 CustomField_Overlay.pm, 1.3, 1.4 Record.pm, 1.9, 1.10 Ticket_Overlay.pm, 1.17, 1.18 Transaction_Overlay.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list