[bugzilla-gnome-org-extensions] template overrides: Add some hooks for Developers extension
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] template overrides: Add some hooks for Developers extension
- Date: Thu, 20 Nov 2014 22:06:48 +0000 (UTC)
commit 205bb4ff984d87e28af915f1cb1ec72866b845e7
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Nov 9 13:09:25 2014 +0100
template overrides: Add some hooks for Developers extension
.../template/en/default/bug/comments.html.tmpl | 5 +++++
.../template/en/default/global/user.html.tmpl | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/TemplateOverrides/template/en/default/bug/comments.html.tmpl
b/TemplateOverrides/template/en/default/bug/comments.html.tmpl
index 61d1c67..1d2971b 100644
--- a/TemplateOverrides/template/en/default/bug/comments.html.tmpl
+++ b/TemplateOverrides/template/en/default/bug/comments.html.tmpl
@@ -55,6 +55,11 @@
[% sort_order = "oldest_to_newest" %]
[% END %]
+[%# Note: this template is used in multiple places; if you use this hook,
+ # make sure you are aware of this fact.
+ #%]
+[% Hook.process("beforecomments") %]
+
<!-- This auto-sizes the comments and positions the collapse/expand links
to the right. -->
<table class="bz_comment_table" cellpadding="0" cellspacing="0"><tr>
diff --git a/TemplateOverrides/template/en/default/global/user.html.tmpl
b/TemplateOverrides/template/en/default/global/user.html.tmpl
index 7050c6d..e9f3b67 100644
--- a/TemplateOverrides/template/en/default/global/user.html.tmpl
+++ b/TemplateOverrides/template/en/default/global/user.html.tmpl
@@ -24,3 +24,4 @@
[% '</a>' IF user.id %]
[% END %]
</span>
+[% Hook.process("end") %]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]