diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-11-19 18:21:56 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-11-19 18:21:56 +0100 |
commit | 33c16a8935f7e444372a7906df4f5798db34fd24 (patch) | |
tree | e66529d6fbe9b6b564944652da39757941db7153 | |
parent | f43045dfb7e05c3032ab702922dbad4a7a9ae403 (diff) | |
download | bugs-33c16a8935f7e444372a7906df4f5798db34fd24.tar bugs-33c16a8935f7e444372a7906df4f5798db34fd24.tar.gz bugs-33c16a8935f7e444372a7906df4f5798db34fd24.tar.bz2 bugs-33c16a8935f7e444372a7906df4f5798db34fd24.tar.xz bugs-33c16a8935f7e444372a7906df4f5798db34fd24.zip |
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
-rw-r--r-- | 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 16299c121..a2730f3c9 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 %] [%###########################################################################%] |