From f0e2cd1ec8588798debddd93b229c5876ed8eb34 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 15 Jun 2015 16:05:26 +0800 Subject: Bug 1174632: show keyword summary in tracking module summary --- .../BugModal/template/en/default/bug_modal/edit.html.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extensions/BugModal/template/en/default/bug_modal') 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" -- cgit v1.2.3-24-g4f1b