summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-06-15 10:05:26 +0200
committerByron Jones <glob@mozilla.com>2015-06-15 10:05:26 +0200
commitf0e2cd1ec8588798debddd93b229c5876ed8eb34 (patch)
tree758843d9bb419e94bd48dfa1ec3fb83bb7c6fd86 /extensions/BugModal
parent35cabc41dfbed750d225fb8be2c4dfa1736e84b6 (diff)
downloadbugzilla-f0e2cd1ec8588798debddd93b229c5876ed8eb34.tar.gz
bugzilla-f0e2cd1ec8588798debddd93b229c5876ed8eb34.tar.xz
Bug 1174632: show keyword summary in tracking module summary
Diffstat (limited to 'extensions/BugModal')
-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"