summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-08-10 19:01:29 +0200
committerByron Jones <glob@mozilla.com>2015-08-10 19:01:29 +0200
commit9124d9a7a9d6f827f52e2f856c7670e8468b8d1b (patch)
tree63f93918daaac46e55838b41f85e0bf6e7cd7a70 /template/en/default/reports
parent44cd79261e988e83b1d8293f81c9b74f26942157 (diff)
downloadbugzilla-9124d9a7a9d6f827f52e2f856c7670e8468b8d1b.tar.gz
bugzilla-9124d9a7a9d6f827f52e2f856c7670e8468b8d1b.tar.xz
Bug 1192893 - Deactivated keywords cause the table on the keyword descriptions page to render strangely
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/keywords.html.tmpl28
1 files changed, 10 insertions, 18 deletions
diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl
index b99f2c133..97a2d44d2 100644
--- a/template/en/default/reports/keywords.html.tmpl
+++ b/template/en/default/reports/keywords.html.tmpl
@@ -61,22 +61,16 @@
id="keywords_show_hide">[% show_inactive_keywords ? "Show" : "Hide" FILTER html %] inactive keywords</a>
</p>
-[% FOREACH keyword = keywords %]
- [% IF loop.index % 50 == 0 %]
- [% IF loop.index != 0 %]
- </table>
- [% END %]
-
- <table border="1" cellpadding="4" cellspacing="0">
- <tr bgcolor="#6666FF">
- <th align="left">Name</th>
- <th align="left">Description</th>
- <th>Active</th>
- <th align="left">Open [% terms.Bugs %]</th>
- <th align="left">Total [% terms.Bugs %]</th>
- </tr>
- [% END %]
+<table border="1" cellpadding="4" cellspacing="0">
+ <tr bgcolor="#6666FF">
+ <th align="left">Name</th>
+ <th align="left">Description</th>
+ <th>Active</th>
+ <th align="left">Open [% terms.Bugs %]</th>
+ <th align="left">Total [% terms.Bugs %]</th>
+ </tr>
+[% FOREACH keyword = keywords %]
<tr id="[% keyword.name FILTER html %]"
class="[% keyword.is_active ? "keyword_active" : "keyword_inactive" FILTER html %]">
<th>
@@ -103,9 +97,7 @@
</tr>
[% END %]
-[% IF keywords.size > 0 %]
- </table>
-[% END %]
+</table>
[% IF caneditkeywords %]
<p>