]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1546774 - Show Dependency Tree link even if there’s only one bug
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 25 Apr 2019 21:09:42 +0000 (17:09 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2019 21:09:42 +0000 (17:09 -0400)
extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl

index f162ec5d95aa563fcdd965aa0497aa5f5dd30dd5..3817e80d7acc86c057e08bf476841905afce05a2 100644 (file)
         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