summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 1f4ed2471..7cd41e386 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -616,9 +616,6 @@
&& !project_flags_set
&& !tracking_flags_set;
sub = [];
- IF col;
- sub.push("Not tracked");
- END;
open_deps = bug.depends_on_obj.only("resolution", "").size;
IF open_deps;
sub.push("Depends on: " _ open_deps _ " bug" _ (open_deps == 1 ? "" : "s"));
@@ -627,6 +624,13 @@
IF open_deps;
sub.push("Blocks: " _ open_deps _ " bug" _ (open_deps == 1 ? "" : "s"));
END;
+ IF bug.keyword_objects.size;
+ IF bug.keyword_objects.size <= 3;
+ sub.push("[" _ bug.keyword_objects.pluck("name").join("][") _ "]");
+ ELSE;
+ sub.push(bug.keyword_objects.size _ " keywords");
+ END;
+ END;
%]
[% WRAPPER bug_modal/module.html.tmpl
title = "Tracking"