[bugzilla-gnome-org-upstream/4.4: 10/19] Bug 1097798: Do not display the resolution in the dependency tree for open bugs, nor the target mile



commit 83d0d0e9e69d338159bb25c38e6ebdded22cfd83
Author: Frédéric Buclin <LpSolit gmail com>
Date:   Wed Nov 19 18:23:22 2014 +0100

    Bug 1097798: Do not display the resolution in the dependency tree for open bugs, nor the target milestone 
if usetargetmilestone is off
    r=dkl a=glob

 template/en/default/bug/dependency-tree.html.tmpl |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/template/en/default/bug/dependency-tree.html.tmpl 
b/template/en/default/bug/dependency-tree.html.tmpl
index a4bb0e6..f536636 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -152,9 +152,12 @@
 [% END %]
 
 [% BLOCK buginfo %]
-  [% display_value("bug_status", bug.bug_status) FILTER html -%] [%+ display_value("resolution", 
bug.resolution) FILTER html %];
+  [% display_value("bug_status", bug.bug_status) FILTER html -%]
+  [%- IF bug.resolution %] [%+ display_value("resolution", bug.resolution) FILTER html %][% END %];
   [%-%] assigned to [% bug.assigned_to.login FILTER email FILTER html %]
-  [%-%][% "; Target: " _ bug.target_milestone IF bug.target_milestone %]
+  [% IF Param("usetargetmilestone") AND bug.target_milestone %]
+    [%-%]; target: [% bug.target_milestone FILTER html %]
+  [% END %]
 [% END %]
 
 [%###########################################################################%]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]