summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Mello <timello@linux.vnet.ibm.com>2010-06-24 18:51:23 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-24 18:51:23 +0200
commit622a4e8f3085550718e08ad2c1a907c07086a627 (patch)
tree3f327a32d522da1baef337969e926a8386ea2d30
parentfebd1676da423fdbe3f2a97cb946e8a2aecbd938 (diff)
downloadbugzilla-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
-rw-r--r--template/en/default/admin/components/list.html.tmpl2
-rw-r--r--template/en/default/admin/milestones/list.html.tmpl2
-rw-r--r--template/en/default/admin/products/list.html.tmpl2
-rw-r--r--template/en/default/admin/versions/list.html.tmpl2
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