rt 4.2.15
[freeside.git] / rt / share / html / Elements / BulkCustomFields
index 871e306..77f6352 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 % # Pass datemanip format to prevent another tz date conversion
 <td><& /Elements/EditCustomFieldDateTime, @add, Default => undef, Format => 'datemanip' &></td>
 <td><& /Elements/EditCustomFieldDateTime, @del, Default => undef, Format => 'datemanip' &><br />
+% } elsif ($cf->Type eq 'Autocomplete') {
+<td><& /Elements/EditCustomFieldAutocomplete, @add &></td>
+<td><& /Elements/EditCustomFieldAutocomplete, @del &><br />
 % } else {
-%   $RT::Logger->crit("Unknown CustomField type: " . $cf->Type);
+    <td colspan="2"><em><&|/l&>(Unsupported custom field type)</&></em></td>
+%   $RT::Logger->info("Unknown CustomField type: " . $cf->Type);
 %   next
 % }
   <label><input type="checkbox" name="Bulk-Delete-CustomField-<% $cf_id %>-AllValues" value="1">