summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-27 15:57:11 +0200
committergerv%gerv.net <>2002-04-27 15:57:11 +0200
commit2fbdc1d838a990be1faba320618eae6fadae878a (patch)
treed770d45181c7ae6fa5be31462ed18b94589fcd72 /template/en
parent48fcdfb586c8ff4213ab05dcd849c3e11bb9740c (diff)
downloadbugzilla-2fbdc1d838a990be1faba320618eae6fadae878a.tar.gz
bugzilla-2fbdc1d838a990be1faba320618eae6fadae878a.tar.xz
Bug 138284 - prepare for Bugzilla Helper replacement enter_bug template. Patch by gerv; r=bbaetz, myk.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/create/create.html.tmpl5
-rw-r--r--template/en/default/global/choose-product.html.tmpl5
-rw-r--r--template/en/default/list/list-simple.html.tmpl6
3 files changed, 11 insertions, 5 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 5047a2131..ee60fdff3 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -78,8 +78,9 @@
<td>
<select name="component" size="5">
[%- FOREACH c = component_ %]
- <option value="[% c FILTER html %]"
- [% " selected=\"selected\"" IF c == default.component_ %]>[% c FILTER html -%]
+ <option value="[% c.name FILTER html %]"
+ [% " selected=\"selected\"" IF c.name == default.component_ %]>
+ [% c.name FILTER html -%]
</option>
[%- END %]
</select>
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl
index df7e0fb48..7bd27ffc8 100644
--- a/template/en/default/global/choose-product.html.tmpl
+++ b/template/en/default/global/choose-product.html.tmpl
@@ -27,8 +27,9 @@
[% FOREACH p = proddesc.keys.sort %]
<tr>
<th align="right" valign="top">
- <a href="[% target %]?product=[% p FILTER url_quote %]">
- [% p FILTER html %]</a>:
+ <a href="[% target %]?product=[% p FILTER url_quote %]
+ [%- "&amp;format=$format" IF format %]">
+ [% p FILTER html %]</a>:
</th>
[% IF proddesc.$p %]
diff --git a/template/en/default/list/list-simple.html.tmpl b/template/en/default/list/list-simple.html.tmpl
index 3dd6656d2..b8d8241a3 100644
--- a/template/en/default/list/list-simple.html.tmpl
+++ b/template/en/default/list/list-simple.html.tmpl
@@ -39,7 +39,11 @@
</head>
<body>
- [% PROCESS list/table.html.tmpl %]
+ [% IF bugs.size == 0 %]
+ <h3>Zarro Boogs found.</h3>
+ [% ELSE %]
+ [% PROCESS list/table.html.tmpl %]
+ [% END %]
</body>
</html>