summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-05 04:18:58 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:54 +0200
commitcdc26a69674ea7a3413efce2f8d4e3225c6ab76e (patch)
treecdee5c2c8b40652cdea40becdcc96f13c3a97bc9 /template
parente680057dd24ea4290096f4420bdd5c354acea024 (diff)
downloadbugzilla-cdc26a69674ea7a3413efce2f8d4e3225c6ab76e.tar.gz
bugzilla-cdc26a69674ea7a3413efce2f8d4e3225c6ab76e.tar.xz
render bugzilla templates using mojo
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 153137394..b286830fc 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -97,6 +97,10 @@
[% IF Param('utf8') %]
<meta charset="UTF-8">
[% END %]
+ [% USE Bugzilla %]
+ [% IF Bugzilla.usage_mode == constants.USAGE_MODE_MOJO %]
+ <base href="[% urlbase FILTER html %]">
+ [% END %]
[% IF Bugzilla.cgi.should_block_referrer %]
<meta name="referrer" content="origin">