summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-27 09:47:05 +0100
committerlpsolit%gmail.com <>2006-12-27 09:47:05 +0100
commitf2475705f29997ae1575288ee8ef116c6ecca4ac (patch)
tree10212bd648e217ba73a36fca7e163c79aa8861a1 /template/en/default/global
parent618959cbc2196f6b2156c40cddf63bf550eb78d8 (diff)
downloadbugzilla-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar.gz
bugzilla-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar.xz
Bug 365046: If docs_urlbase is empty, link to "the named tag" in the documentation should be supressed - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/per-bug-queries.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl
index fa682ebc9..c3706d6de 100644
--- a/template/en/default/global/per-bug-queries.html.tmpl
+++ b/template/en/default/global/per-bug-queries.html.tmpl
@@ -71,7 +71,13 @@
<option value="remove">Remove</option>
[% END %]
</select>
- <a href="[% Param('docs_urlbase') %]query.html#individual-buglists">the named tag</a>
+
+ [% IF Param('docs_urlbase') %]
+ <a href="[% Param('docs_urlbase') %]query.html#individual-buglists">the named tag</a>
+ [% ELSE %]
+ the named tag
+ [% END %]
+
[% IF lists_of_bugs.size %]
<select id="lob_oldqueryname" name="oldqueryname">
[% FOREACH query = lists_of_bugs %]