summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-07 07:14:35 +0200
committerByron Jones <glob@mozilla.com>2015-04-07 07:14:35 +0200
commit280c184398d4e4de9c00c96ee9dff1d7e6724615 (patch)
tree3ec941eaf04523bc4a60576a754e966a12f3ed37 /template
parent50a1473b3c89bf8fe153cfd9c4c29a0de104d36d (diff)
downloadbugzilla-280c184398d4e4de9c00c96ee9dff1d7e6724615.tar.gz
bugzilla-280c184398d4e4de9c00c96ee9dff1d7e6724615.tar.xz
Bug 1146960: replace the version number on bmo with a build number
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/params/core.html.tmpl3
-rw-r--r--template/en/default/index.html.tmpl4
2 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/admin/params/core.html.tmpl b/template/en/default/admin/params/core.html.tmpl
index b1578f422..0f7a95139 100644
--- a/template/en/default/admin/params/core.html.tmpl
+++ b/template/en/default/admin/params/core.html.tmpl
@@ -28,6 +28,9 @@
urlbase => "The URL that is the common initial leading part of all $terms.Bugzilla " _
"URLs.",
+ bugzilla_version => "The visible version number of Bugzilla. This should be set to " _
+ "the date when BMO was last updated, in the format <tt>yyyy.mm.dd</tt>",
+
sslbase => "The URL that is the common initial leading part of all HTTPS " _
"(SSL) $terms.Bugzilla URLs.",
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index fa2a4d126..ff019469a 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -28,11 +28,11 @@
[% PROCESS global/variables.none.tmpl %]
-
+[% USE Bugzilla %]
[% PROCESS global/header.html.tmpl
title = "$terms.Bugzilla Main Page"
header = "Main Page"
- header_addl_info = "version $constants.BUGZILLA_VERSION"
+ header_addl_info = "version " _ (Bugzilla.params.bugzilla_version || constants.BUGZILLA_VERSION)
style_urls = [ 'skins/standard/index.css' ]
%]