summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-01-07 17:03:40 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-07 17:03:40 +0100
commitdf058f2b9168fa02899a6eea63b19efc750487bf (patch)
tree3bc0b551fc3d7600bfd6664e732ac309ca4f7140 /template
parentaeb35cd1a50134f8e69a7d925dca4bd54fdc3bde (diff)
parentd758a8169eacbccc0a65d6fd68e49f8eb8b713be (diff)
downloadbugzilla-df058f2b9168fa02899a6eea63b19efc750487bf.tar.gz
bugzilla-df058f2b9168fa02899a6eea63b19efc750487bf.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/create/create.html.tmpl2
-rw-r--r--template/en/default/global/header.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 22ca4ebab..7f2087467 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -330,7 +330,7 @@ TUI_hide_default('attachment_text_field');
bug = default, field = bug_fields.op_sys, editable = 1,
value = default.op_sys %]
</tr>
- [% IF !Param('defaultplatform') || !Param('defaultopsys') %]
+ [% IF (!Param('defaultplatform') || !Param('defaultopsys')) && !cloned_bug_id %]
<tr>
<th colspan="3">&nbsp;</th>
<td id="os_guess_note" class="comment">
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index ab07b66d4..7b7739ec5 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -249,7 +249,7 @@
#%]
<body onload="[% onload %]"
- class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
+ class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') FILTER css_class_quote %]
[% FOREACH class = bodyclasses %]
[% ' ' %][% class FILTER css_class_quote %]
[% END %] yui-skin-sam">