aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorGervase Markham <gerv@mozilla.org>2014-12-22 10:11:12 +0000
committerGervase Markham <gerv@gerv.net>2014-12-22 10:11:12 +0000
commit1d1bb369d6608e4e276767289dc2c1651afe0d58 (patch)
tree13f00ced5664c63c44ef853ba5376e0d70eafebe /template
parent5d0b206ac01fac427f25767d11cd81dc170f6387 (diff)
downloadbugs-1d1bb369d6608e4e276767289dc2c1651afe0d58.tar
bugs-1d1bb369d6608e4e276767289dc2c1651afe0d58.tar.gz
bugs-1d1bb369d6608e4e276767289dc2c1651afe0d58.tar.bz2
bugs-1d1bb369d6608e4e276767289dc2c1651afe0d58.tar.xz
bugs-1d1bb369d6608e4e276767289dc2c1651afe0d58.zip
Bug 399068: Remove the docs_urlbase parameter. r=LpSolit, a=glob.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/params/general.html.tmpl8
-rw-r--r--template/en/default/global/common-links.html.tmpl2
-rw-r--r--template/en/default/global/docslinks.html.tmpl3
-rw-r--r--template/en/default/index.html.tmpl8
4 files changed, 5 insertions, 16 deletions
diff --git a/template/en/default/admin/params/general.html.tmpl b/template/en/default/admin/params/general.html.tmpl
index 4c94bc747..6ebef8ea2 100644
--- a/template/en/default/admin/params/general.html.tmpl
+++ b/template/en/default/admin/params/general.html.tmpl
@@ -16,14 +16,6 @@
"The email address of the person who maintains this installation "
_ " of Bugzilla.",
- docs_urlbase =>
- "The URL that is the common initial leading part of all"
- _ " $terms.Bugzilla documentation URLs. It may be an absolute URL,"
- _ " or a URL relative to the <var>urlbase</var> parameter. Leave this"
- _ " empty to suppress links to the documentation."
- _ "'%lang%' will be replaced by user's preferred language (if"
- _ " documentation is available in that language).",
-
utf8 =>
"Use UTF-8 (Unicode) encoding for all text in ${terms.Bugzilla}. New"
_ " installations should set this to true to avoid character encoding"
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl
index ec23f551e..78b4eb80a 100644
--- a/template/en/default/global/common-links.html.tmpl
+++ b/template/en/default/global/common-links.html.tmpl
@@ -100,7 +100,7 @@
[% Hook.process("link-row") %]
[% BLOCK link_to_documentation %]
- [% IF doc_section && Param('docs_urlbase') %]
+ [% IF doc_section %]
<li>
<span class="separator">| </span>
<a href="[% docs_urlbase _ doc_section FILTER html %]" target="_blank">Help</a>
diff --git a/template/en/default/global/docslinks.html.tmpl b/template/en/default/global/docslinks.html.tmpl
index c2cc830fa..e33aa3b17 100644
--- a/template/en/default/global/docslinks.html.tmpl
+++ b/template/en/default/global/docslinks.html.tmpl
@@ -22,8 +22,7 @@
# members of the admin group.
#%]
-[% IF Param('docs_urlbase') &&
- docslinks.keys.size || (admindocslinks.keys.size && user.in_group('admin')) %]
+[% IF docslinks.keys.size || (admindocslinks.keys.size && user.in_group('admin')) %]
<div id="docslinks">
<h2>Related documentation</h2>
<ul>
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index aa50a60e9..84a5b7d5c 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -83,11 +83,9 @@
href="?GoAheadAndLogIn=1"><span>Log In</span></a>
[% END %]
</li>
- [% IF Param("docs_urlbase") %]
- <li>
- <a id="help" href="[% docs_urlbase FILTER html %]using.html"><span>Documentation</span></a>
- </li>
- [% END %]
+ <li>
+ <a id="help" href="[% docs_urlbase FILTER html %]using/index.html"><span>Documentation</span></a>
+ </li>
</ul>
</div>