From: Tiago Mello Date: Thu, 24 Jun 2010 16:51:23 +0000 (-0700) Subject: Bug 573637: Add a new "before_table" hooks to the list.html.tmpl interface X-Git-Tag: bugzilla-3.7.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=622a4e8f3085550718e08ad2c1a907c07086a627;p=thirdparty%2Fbugzilla.git Bug 573637: Add a new "before_table" hooks to the list.html.tmpl interface for products, components, milestones, and versions r=mkanat, a=mkanat --- diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl index d4bf117482..0161ee6f22 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 e1463603c9..9422855ac5 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 fb026aaa43..13f12780a7 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 45e33336c5..401ee519b3 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