[Rt-commit] rt branch, 4.4/self-service-tickets-callbacks, created. rt-4.4.1-239-g5bf09ac
Jim Brandt
jbrandt at bestpractical.com
Wed Jan 11 10:30:22 EST 2017
The branch, 4.4/self-service-tickets-callbacks has been created
at 5bf09ac8ce8c643971982073b67200c27cf546a0 (commit)
- Log -----------------------------------------------------------------
commit 5bf09ac8ce8c643971982073b67200c27cf546a0
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Jan 11 10:30:07 2017 -0500
Add callbacks to Self Service open and closed tickets pages
diff --git a/share/html/SelfService/Closed.html b/share/html/SelfService/Closed.html
index c890674..dc48efd 100644
--- a/share/html/SelfService/Closed.html
+++ b/share/html/SelfService/Closed.html
@@ -47,6 +47,8 @@
%# END BPS TAGGED BLOCK }}}
<& /SelfService/Elements/Header, Title => loc('Closed tickets') &>
+% $m->callback(CallbackName => 'BeforeMyRequests', ARGSRef => \%ARGS, Page => $Page);
+
<& /SelfService/Elements/MyRequests,
%ARGS,
status => '__Inactive__',
@@ -55,6 +57,8 @@
Page => $Page,
&>
+% $m->callback(CallbackName => 'AfterMyRequests', ARGSRef => \%ARGS, Page => $Page);
+
<%ARGS>
$Page => 1
</%ARGS>
diff --git a/share/html/SelfService/index.html b/share/html/SelfService/index.html
index 53eea85..daa2203 100644
--- a/share/html/SelfService/index.html
+++ b/share/html/SelfService/index.html
@@ -46,6 +46,9 @@
%#
%# END BPS TAGGED BLOCK }}}
<& /SelfService/Elements/Header, Title => loc('Open tickets') &>
+
+% $m->callback(CallbackName => 'BeforeMyRequests', ARGSRef => \%ARGS, Page => $Page);
+
<& /SelfService/Elements/MyRequests,
%ARGS,
status => '__Active__',
@@ -54,6 +57,8 @@
Page => $Page,
&>
+% $m->callback(CallbackName => 'AfterMyRequests', ARGSRef => \%ARGS, Page => $Page);
+
<%ARGS>
$Page => 1
</%ARGS>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list