]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 314680: Dependecy graph link rel entry should depend on webdotbase param
authorwurblzap%gmail.com <>
Tue, 8 Nov 2005 01:14:01 +0000 (01:14 +0000)
committerwurblzap%gmail.com <>
Tue, 8 Nov 2005 01:14:01 +0000 (01:14 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>
r=LpSolit, a=justdave

template/en/default/global/site-navigation.html.tmpl

index 66c96a1378ba8abf43a620dc65ad275e7edf8e60..32c56549ff27e2bb3c18328b1eaa25f59f294176 100644 (file)
   [% IF bug %]
     <link rel="Show" title="Dependency Tree"
           href="showdependencytree.cgi?id=[% bug.bug_id %]">
-    <link rel="Show" title="Dependency Graph"
-          href="showdependencygraph.cgi?id=[% bug.bug_id %]">
+    [% IF Param('webdotbase') %]
+      <link rel="Show" title="Dependency Graph"
+            href="showdependencygraph.cgi?id=[% bug.bug_id %]">
+    [% END %]
 
     [% IF use_votes %]
       <link rel="Show" title="Votes ([% bug.votes %])"