[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% IF field.name == 'cf_rank'; field.hidden = 1; RETURN; END; %] [% IF field.name == 'cf_crash_signature'; field.hidden = 1; value = bug.cf_crash_signature; %] [%# lifted from bug/field.html.tmpl %] [% PROCESS "bug/field-label.html.tmpl" %]
(edit)
[% IF split_cf_crash_signature.size %] [% FOREACH sig = split_cf_crash_signature %] [% IF sig.match('^\[\@\s*') && sig.match('\s*\]$') %] [% sig = sig.replace('(^\[\@\s*|\s*\]$)', '') %] [@ [% sig FILTER html %] ]
[% ELSE %] [% sig FILTER html %]
[% END %] [% END %] [% ELSIF value %]
[% value FILTER html %]
[% END %]
[% INCLUDE global/textarea.html.tmpl id = field.name name = field.name minrows = 4 maxrows = 8 cols = 60 defaultcontent = value %]
[% RETURN; END; %] [% IF field.name == 'cf_cab_review' AND bug.cf_cab_review == '---'; field.hidden = 1; value = '---'; %] [%# lifted from bug/field.html.tmpl %] [% PROCESS "bug/field-label.html.tmpl" hidden=0 %] ServiceNow Change Request (use flag) [% RETURN; END; %]