summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl10
1 files changed, 10 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 %]