From: Kohei Yoshino Date: Thu, 25 Apr 2019 21:09:42 +0000 (-0400) Subject: Bug 1546774 - Show Dependency Tree link even if there’s only one bug X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cfb06c64326003058bb130677d654297cf4e5d9;p=thirdparty%2Fbugzilla.git Bug 1546774 - Show Dependency Tree link even if there’s only one bug --- 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 f162ec5d9..3817e80d7 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -973,7 +973,7 @@ help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#blocks" %] - [% IF bug.dependson.size + bug.blocked.size > 1 %] + [% IF bug.dependson.size + bug.blocked.size > 0 %] [% WRAPPER bug_modal/field.html.tmpl name = "dependencytree" container = 1