aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2017-04-18 23:52:48 +0200
committerFrédéric Buclin <LpSolit@netscape.net>2017-04-18 23:52:48 +0200
commitcca49fa6bc14bc170a13860455ff11b0e37615a6 (patch)
treeb58b032a54effdcee5cbabbaa3311029e644bf19
parent20668e9e2dbee14347069c025c246639ed9273db (diff)
downloadbugs-cca49fa6bc14bc170a13860455ff11b0e37615a6.tar
bugs-cca49fa6bc14bc170a13860455ff11b0e37615a6.tar.gz
bugs-cca49fa6bc14bc170a13860455ff11b0e37615a6.tar.bz2
bugs-cca49fa6bc14bc170a13860455ff11b0e37615a6.tar.xz
bugs-cca49fa6bc14bc170a13860455ff11b0e37615a6.zip
Cleanup + make Bugzilla tests happy
-rw-r--r--extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl20
-rw-r--r--template/en/default/list/list.html.tmpl25
-rw-r--r--template/en/default/list/table.html.tmpl2
3 files changed, 14 insertions, 33 deletions
diff --git a/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl b/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl
index 82eb61a6c..000dc1f2c 100644
--- a/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl
+++ b/extensions/Mageia/template/en/default/bug/create/create-guided.html.tmpl
@@ -299,23 +299,3 @@ function CheckDetails(e) {
</form>
[% PROCESS global/footer.html.tmpl %]
-
-[%############################################################################%]
-[%# Block for SELECT fields #%]
-[%############################################################################%]
-
-[% BLOCK select %]
- <select name="[% sel %]">
- [%- IF default.$sel %]
- <option value="[% default.$sel FILTER html %]" selected="selected">
- [% default.$sel FILTER html -%]
- </option>
- [% END %]
- [%- FOREACH x = $sel %]
- [% NEXT IF x == default.$sel %]
- <option value="[% x FILTER html %]">
- [% x FILTER html -%]
- </option>
- [%- END %]
- </select>
-[% END %]
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 63866f416..321716873 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -134,18 +134,19 @@
[% IF user.id AND bugs.size %]
<div class="bz_last_visit_description">
- <span class="bz_new_since_last_visit">
- [% terms.Bugs %] you are involved in, but which you never visited or did not visit in the last [% Param('last_visit_keep_days') %] days
- </span>
- <span class="bz_updated_since_last_visit">
- [% terms.Bugs %] you are involved in, which have been updated since your last visit
- </span>
- <span class="bz_up_to_date_since_last_visit">
- [% terms.Bugs %] you are involved in, which got no updates since your last visit
- </span>
- <span class="bz_unknown_since_last_visit">
- [% terms.Bugs %] you are not involved in
- </span>
+ <span class="bz_new_since_last_visit">
+ [% terms.Bugs %] you are involved in, but which you never visited or did not visit
+ in the last [% Param('last_visit_keep_days') %] days
+ </span>
+ <span class="bz_updated_since_last_visit">
+ [% terms.Bugs %] you are involved in, which have been updated since your last visit
+ </span>
+ <span class="bz_up_to_date_since_last_visit">
+ [% terms.Bugs %] you are involved in, which got no updates since your last visit
+ </span>
+ <span class="bz_unknown_since_last_visit">
+ [% terms.Bugs %] you are not involved in
+ </span>
</div>
[% END %]
</ul>
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 7e6611109..f6ca804e8 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -168,7 +168,7 @@
[%+ "bz_$bug.resolution" FILTER css_class_quote IF bug.resolution -%]
[%+ "bz_secure" IF bug.secure_mode -%]
[%+ "bz_secure_mode_$bug.secure_mode" FILTER css_class_quote IF bug.secure_mode -%]
- [%+ "bz_${bug.last_visit_status}_since_last_visit" IF bug.last_visit_status %]
+ [%+ "bz_${bug.last_visit_status}_since_last_visit" FILTER css_class_quote IF bug.last_visit_status -%]
[%+ count % 2 == 1 ? "bz_row_odd" : "bz_row_even" -%]
">