From: Tiago Mello Date: Thu, 24 Jun 2010 16:52:25 +0000 (-0700) Subject: Bug 573637: Add a new "before_table" hooks to the list.html.tmpl interface X-Git-Tag: bugzilla-3.6.1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd240f800ed349c8d2dde8debfefac74a7d68c9;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 6fd5240afd..57d75d8868 100644 --- a/template/en/default/admin/products/list.html.tmpl +++ b/template/en/default/admin/products/list.html.tmpl @@ -100,6 +100,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