[Rt-commit] r5886 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Fri Sep 8 16:50:40 EDT 2006
Author: jesse
Date: Fri Sep 8 16:50:39 2006
New Revision: 5886
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Approvals/Elements/Approve
Log:
r27286 at pinglin: jesse | 2006-09-08 12:51:22 -0400
* Finer-grained control of what's displayed on ticket approval from Drew Taylor.
Modified: rt/branches/3.6-RELEASE/html/Approvals/Elements/Approve
==============================================================================
--- rt/branches/3.6-RELEASE/html/Approvals/Elements/Approve (original)
+++ rt/branches/3.6-RELEASE/html/Approvals/Elements/Approve Fri Sep 8 16:50:39 2006
@@ -52,8 +52,12 @@
<div class="originating-ticket">
<span class="link"><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<% $approving->Id %>"><&|/l, $approving->Id, $approving->Subject &>Originating ticket: #[_1]</&></a></span>
<div class="info">
+% if ($ShowCustomFields) {
<& /Ticket/Elements/ShowCustomFields, Ticket => $approving &>
+% }
+% if ($ShowHistory) {
<& /Ticket/Elements/ShowHistory, Ticket => $approving, Collapsed => 0, ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0 &>
+% }
</div>
</div>
% }
@@ -82,5 +86,7 @@
</div>
<%ARGS>
$ShowApproving => 1
+$ShowCustomFields => 1
+$ShowHistory => 1
$ticket => undef
</%ARGS>
More information about the Rt-commit
mailing list