[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.18-58-g358d84d
Alex Vandiver
alexmv at bestpractical.com
Wed Nov 13 18:36:38 EST 2013
The branch, 4.0-trunk has been updated
via 358d84ddf85bd5e5b791ff20fa311bfb2da0773b (commit)
via 487c61791ab50401a43da3f5c6f90b651142119b (commit)
from c0ddb0a3a5c93505c1bf473233c6b11945af6bee (commit)
Summary of changes:
share/html/Search/Chart.html | 8 ++++++++
1 file changed, 8 insertions(+)
- Log -----------------------------------------------------------------
commit 487c61791ab50401a43da3f5c6f90b651142119b
Author: Christian Loos <cloos at netcologne.de>
Date: Wed Nov 6 12:50:25 2013 +0100
add some callbacks to Chart.html
similar to Results.html
diff --git a/share/html/Search/Chart.html b/share/html/Search/Chart.html
index 57377b1..c0f67b3 100644
--- a/share/html/Search/Chart.html
+++ b/share/html/Search/Chart.html
@@ -51,6 +51,8 @@ $ChartStyle => 'bars'
$Description => undef
</%args>
<%init>
+$m->callback( ARGSRef => \%ARGS, CallbackName => 'Initial' );
+
$ARGS{Query} ||= 'id > 0';
# FIXME: should be factored with RT::Report::Tickets::Label :(
@@ -111,12 +113,18 @@ my %query;
}
+$m->callback( ARGSRef => \%ARGS, QueryArgsRef => \%query );
</%init>
<& /Elements/Header, Title => $title &>
<& /Elements/Tabs, QueryArgs => \%query &>
<& /Elements/ListActions, actions => \@actions &>
+
+% $m->callback( ARGSRef => \%ARGS, CallbackName => 'BeforeChart' );
+
<& /Search/Elements/Chart, %ARGS &>
+% $m->callback( ARGSRef => \%ARGS, CallbackName => 'AfterChart' );
+
<div class="chart-meta">
<div class="chart-type">
<&| /Widgets/TitleBox, title => loc('Chart Properties')&>
commit 358d84ddf85bd5e5b791ff20fa311bfb2da0773b
Merge: c0ddb0a 487c617
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Nov 13 18:35:57 2013 -0500
Merge branch '4.0/chart-callbacks' into 4.0-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list