[Rt-commit] rt branch, 4.4/clean-show-history, created. rt-4.4.0-227-g5a60a9d
Dustin Graves
dustin at bestpractical.com
Fri Jun 17 09:57:25 EDT 2016
The branch, 4.4/clean-show-history has been created
at 5a60a9d8632bd35d783de434e3a15ce3c1941ecc (commit)
- Log -----------------------------------------------------------------
commit 5a60a9d8632bd35d783de434e3a15ce3c1941ecc
Author: Dustin Graves <dustin at bestpractical.com>
Date: Fri Jun 17 13:57:13 2016 +0000
remove redundant arguments on ShowHistory mason template calls and pass ARGS to ShowHistoryHeader as well
diff --git a/share/html/Elements/ShowHistory b/share/html/Elements/ShowHistory
index e2ff24c..b069ab8 100644
--- a/share/html/Elements/ShowHistory
+++ b/share/html/Elements/ShowHistory
@@ -45,24 +45,11 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/ShowHistoryHeader,
- Object => $Object,
- ShowHeaders => $ShowHeaders,
- ShowTitle => $ShowTitle,
- ShowDisplayModes => $ShowDisplayModes,
- &>
+<& /Elements/ShowHistoryHeader, %ARGS &>
% $m->callback( %ARGS, Object => $Object, CallbackName => 'BeforeTransactions' );
-<& /Elements/ShowHistoryPage,
- Object => $Object,
- Transactions => $Object->SortedTransactions,
- ShowHeaders => $ARGS{'ShowHeaders'},
- Attachments => $Attachments,
- AttachmentContent => $AttachmentContent,
- PathPrefix => '',
- %ARGS,
- &>
+<& /Elements/ShowHistoryPage, %ARGS &>
</div>
% if ($ShowDisplayModes or $ShowTitle) {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list