summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-03-20 06:26:00 +0100
committerjocuri%softhome.net <>2004-03-20 06:26:00 +0100
commitdffff7a2f6fad652c63813707412c85c843a1fcb (patch)
tree93e1806df1e44d2a493e854c7d57183a2a0380c7
parentb6a027866fe1b287515221b85b363de3f990122c (diff)
downloadbugzilla-dffff7a2f6fad652c63813707412c85c843a1fcb.tar.gz
bugzilla-dffff7a2f6fad652c63813707412c85c843a1fcb.tar.xz
Patch for bug 238025: generate HTML table header in editkeywords.cgi even when there are no keywords defined; patch by Rudolf Ramler <rudolf.ramler@scch.at>; r=vlad, a=justdave.
-rwxr-xr-xtemplate/en/default/admin/keywords/list.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/admin/keywords/list.html.tmpl b/template/en/default/admin/keywords/list.html.tmpl
index 367990fd0..d73e529e3 100755
--- a/template/en/default/admin/keywords/list.html.tmpl
+++ b/template/en/default/admin/keywords/list.html.tmpl
@@ -52,8 +52,10 @@
</table>
[% END %]
+[% PROCESS table_header %]
+
[% FOREACH keyword = keywords %]
- [% IF loop.count() % max_table_size == 1 %]
+ [% IF !loop.first() && loop.count() % max_table_size == 1 %]
[% PROCESS table_header %]
[% END %]