diff options
author | lpsolit%gmail.com <> | 2006-12-27 08:47:05 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-12-27 08:47:05 +0000 |
commit | f2475705f29997ae1575288ee8ef116c6ecca4ac (patch) | |
tree | 10212bd648e217ba73a36fca7e163c79aa8861a1 /template | |
parent | 618959cbc2196f6b2156c40cddf63bf550eb78d8 (diff) | |
download | bugs-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar bugs-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar.gz bugs-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar.bz2 bugs-f2475705f29997ae1575288ee8ef116c6ecca4ac.tar.xz bugs-f2475705f29997ae1575288ee8ef116c6ecca4ac.zip |
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')
-rw-r--r-- | template/en/default/global/per-bug-queries.html.tmpl | 8 |
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 %] |