diff options
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r-- | extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl | 10 | ||||
-rw-r--r-- | extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl index d7c0d58a8..5260a6c7a 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl @@ -74,3 +74,13 @@ } }); </script> + +[% UNLESS cf_hidden_in_product('cf_rank', bug.product, bug.component) %] + [% IF bug.check_can_change_field('cf_rank', 0, 1) %] + <label class="field_label" id="rank_label" for="cf_rank">Rank:</label> + <input type="number" id="cf_rank" name="cf_rank" size="3" value="[% bug.cf_rank FILTER html %]"> + [% ELSIF bug.cf_rank != '' %] + <label class="field_label" id="rank_label" for="cf_rank">Rank:</label> + <span id="cf_rank">[% bug.cf_rank FILTER html %]</span> + [% END %] +[% END %] diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl new file mode 100644 index 000000000..6e871f731 --- /dev/null +++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl @@ -0,0 +1,11 @@ +[%# 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 %] +[% END %] |