diff options
author | Tiago Mello <timello@linux.vnet.ibm.com> | 2010-06-24 18:51:23 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-24 18:51:23 +0200 |
commit | 622a4e8f3085550718e08ad2c1a907c07086a627 (patch) | |
tree | 3f327a32d522da1baef337969e926a8386ea2d30 | |
parent | febd1676da423fdbe3f2a97cb946e8a2aecbd938 (diff) | |
download | bugzilla-622a4e8f3085550718e08ad2c1a907c07086a627.tar.gz bugzilla-622a4e8f3085550718e08ad2c1a907c07086a627.tar.xz |
Bug 573637: Add a new "before_table" hooks to the list.html.tmpl interface
for products, components, milestones, and versions
r=mkanat, a=mkanat
4 files changed, 8 insertions, 0 deletions
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl index d4bf11748..0161ee6f2 100644 --- a/template/en/default/admin/components/list.html.tmpl +++ b/template/en/default/admin/components/list.html.tmpl @@ -102,6 +102,8 @@ %] [% END %] +[% Hook.process('before_table') %] + [% PROCESS admin/table.html.tmpl columns = columns data = product.components diff --git a/template/en/default/admin/milestones/list.html.tmpl b/template/en/default/admin/milestones/list.html.tmpl index e1463603c..9422855ac 100644 --- a/template/en/default/admin/milestones/list.html.tmpl +++ b/template/en/default/admin/milestones/list.html.tmpl @@ -86,6 +86,8 @@ } %] +[% Hook.process('before_table') %] + [% PROCESS admin/table.html.tmpl columns = columns data = product.milestones diff --git a/template/en/default/admin/products/list.html.tmpl b/template/en/default/admin/products/list.html.tmpl index fb026aaa4..13f12780a 100644 --- a/template/en/default/admin/products/list.html.tmpl +++ b/template/en/default/admin/products/list.html.tmpl @@ -85,6 +85,8 @@ }) %] +[% Hook.process('before_table') %] + [% PROCESS admin/table.html.tmpl columns = columns data = products diff --git a/template/en/default/admin/versions/list.html.tmpl b/template/en/default/admin/versions/list.html.tmpl index 45e33336c..401ee519b 100644 --- a/template/en/default/admin/versions/list.html.tmpl +++ b/template/en/default/admin/versions/list.html.tmpl @@ -68,6 +68,8 @@ }) %] +[% Hook.process('before_table') %] + [% PROCESS admin/table.html.tmpl columns = columns data = product.versions |