summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/diff-header.html.tmpl21
1 files changed, 11 insertions, 10 deletions
diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl
index 9e5cd4466..63fe7345e 100644
--- a/template/en/default/attachment/diff-header.html.tmpl
+++ b/template/en/default/attachment/diff-header.html.tmpl
@@ -41,18 +41,19 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %]
javascript_urls = "js/attachment.js"
style_urls = ['skins/standard/attachment.css'] %]
[% ELSE %]
+ <!DOCTYPE html>
<html>
- <head>
- <link href="[% 'skins/standard/global.css' FILTER mtime %]"
- rel="stylesheet" type="text/css">
- <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
- rel="stylesheet" type="text/css">
- <script src="[% 'js/attachment.js' FILTER mtime %]"
- type="text/javascript"></script>
- </head>
- <body onload="[% onload FILTER html %]">
+ <head>
+ <link href="[% 'skins/standard/global.css' FILTER mtime %]"
+ rel="stylesheet" type="text/css">
+ <link href="[% 'skins/standard/attachment.css' FILTER mtime %]"
+ rel="stylesheet" type="text/css">
+ <script src="[% 'js/attachment.js' FILTER mtime %]"
+ type="text/javascript"></script>
+ </head>
+ <body onload="[% onload FILTER html %]">
[% END %]
-
+
[%# If we have attachid, we are in diff, otherwise we're in interdiff %]
[% IF attachid %]
[%# HEADER %]