aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2005-03-16 01:48:34 +0000
committermyk%mozilla.org <>2005-03-16 01:48:34 +0000
commitf5c3529c20575218e9f80e1be14fa48e746c8b4a (patch)
treeda7d506f4995f8fcb65aa3a2b0f10db24645801b
parente58cd6de49308c565c5dbfbe12dce30a918a9082 (diff)
downloadbugs-f5c3529c20575218e9f80e1be14fa48e746c8b4a.tar
bugs-f5c3529c20575218e9f80e1be14fa48e746c8b4a.tar.gz
bugs-f5c3529c20575218e9f80e1be14fa48e746c8b4a.tar.bz2
bugs-f5c3529c20575218e9f80e1be14fa48e746c8b4a.tar.xz
bugs-f5c3529c20575218e9f80e1be14fa48e746c8b4a.zip
Fix for bug 284446: adds hooks useful for testrunner and other third-party extensions; r=gerv
-rw-r--r--template/en/default/bug/create/create.html.tmpl3
-rw-r--r--template/en/default/bug/knob.html.tmpl3
-rw-r--r--template/en/default/bug/process/results.html.tmpl2
-rw-r--r--template/en/default/global/useful-links.html.tmpl3
-rw-r--r--template/en/default/index.html.tmpl4
-rw-r--r--template/en/default/list/list.html.tmpl3
6 files changed, 18 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index ce5aaa922..a1a7d2f06 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -420,6 +420,9 @@ function set_assign_to() {
<input type="hidden" name="form_name" value="enter_bug">
</form>
+[%# Links or content with more information about the bug being created. %]
+[% Hook.process("end") %]
+
[% PROCESS global/footer.html.tmpl %]
[%############################################################################%]
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl
index 0adb69928..f73821675 100644
--- a/template/en/default/bug/knob.html.tmpl
+++ b/template/en/default/bug/knob.html.tmpl
@@ -171,6 +171,9 @@
<a href="show_bug.cgi?format=multiple&amp;id=[% bug.bug_id %]">Format For Printing</a>
&nbsp; | &nbsp;
<a href="enter_bug.cgi?cloned_bug_id=[% bug.bug_id %]">Clone This [% terms.Bug %]</a>
+
+ [%# Links to more things users can do with this bug. %]
+ [% Hook.process("links") %]
</b>
</font>
diff --git a/template/en/default/bug/process/results.html.tmpl b/template/en/default/bug/process/results.html.tmpl
index f3e7a0791..f6305f554 100644
--- a/template/en/default/bug/process/results.html.tmpl
+++ b/template/en/default/bug/process/results.html.tmpl
@@ -55,6 +55,8 @@
</td>
<td>
<a href="show_bug.cgi?id=[% id %]">Back To [% terms.Bug %]# [% id %]</a>
+ [%# Links to more information about the changed bug. %]
+ [% Hook.process("links") %]
</td>
</tr>
</table>
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 36a08a8b8..bb7dadab6 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -123,5 +123,8 @@
[% END %]
</div>
</div>
+
+ [%# Sections of links to more things users can do on this installation. %]
+ [% Hook.process("end") %]
</div>
</form>
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index c1bdf62c5..d7f6be6f7 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -78,6 +78,10 @@ function addSidebar() {
[% END %]
[% END %]
<li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a> (requires a Mozilla browser like Mozilla Firefox)</li>
+
+ [%# List items of links to more things users can do on this installation. %]
+ [% Hook.process("links") %]
+
</ul>
<form id="show-bug" name="f" action="show_bug.cgi" method="get"
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index ce42ed03a..4d0a37544 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -168,6 +168,9 @@
<a href="mailto:
[% bugowners FILTER html %]">Send&nbsp;Mail&nbsp;to&nbsp;[% terms.Bug %]&nbsp;Owners</a> |
[% END %]
+
+ [%# Links to more things users can do with this bug list. %]
+ [% Hook.process("links") %]
</td>
[% END %]