[Rt-commit] r4682 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR
html/RTIR/Elements
alexmv at bestpractical.com
alexmv at bestpractical.com
Sat Mar 4 04:34:34 EST 2006
Author: alexmv
Date: Sat Mar 4 04:34:33 2006
New Revision: 4682
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowIncidents
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
Log:
r9462 at zoq-fot-pik: chmrr | 2006-03-03 21:07:28 -0800
* Don't scomp unless we have to.
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowIncidents
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowIncidents (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowIncidents Sat Mar 4 04:34:33 2006
@@ -24,8 +24,7 @@
%# END LICENSE BLOCK
% while (my $incident = $incidents->Next) {
% $count++;
-% my $State = $m->scomp("/RTIR/Elements/ShowRTIRField", Ticket => $incident, Name => 'State');
-<a href="<%RT->Config->Get('WebPath')%>/RTIR/Display.html?id=<%$incident->Id%>"><%$incident->Id%>: <%$incident->Subject%></a> <i>(<% $State |n %>)</i>
+<a href="<%RT->Config->Get('WebPath')%>/RTIR/Display.html?id=<%$incident->Id%>"><%$incident->Id%>: <%$incident->Subject%></a> <i>(<& /RTIR/Elements/ShowRTIRField, Ticket => $incident, Name => 'State' &>)</i>
% if ($depth < 8) {
<& /RTIR/Elements/ShowIncidents, Ticket => $incident, depth => ($depth+1) &>
% }
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Update.html Sat Mar 4 04:34:33 2006
@@ -68,7 +68,7 @@
<table border="0">
<tr><td align="right"><&|/l&>State</&>:</td>
-<td><%$State%></td></tr>
+<td><& /RTIR/Elements/ShowRTIRField, Ticket => $Ticket, Name => 'State' &></td></tr>
<tr><td align="right"><&|/l&>Update Type</&>:</td>
<td><select name="UpdateType">
% if ($CanComment) {
@@ -205,7 +205,6 @@
$m->abort();
}
-my $State = $m->scomp("/RTIR/Elements/ShowRTIRField", Ticket => $Ticket, Name => 'State');
</%INIT>
<%ARGS>
More information about the Rt-commit
mailing list