[Rt-commit] r4507 - in rtir/branches/1.9-EXPERIMENTAL:
html/RTIR/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Thu Feb 9 09:12:20 EST 2006
Author: ruz
Date: Thu Feb 9 09:12:19 2006
New Revision: 4507
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/ShowIncidents
Log:
r639 at cubic-pc: cubic | 2006-02-04 03:13:56 +0300
* show [take] command near list of incidents if we don't own ticket
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 Thu Feb 9 09:12:19 2006
@@ -28,7 +28,7 @@
<a href="<%RT->Config->Get('WebPath')%>/RTIR/Display.html?id=<%$incident->Id%>"><%$incident->Id%>: <%$incident->Subject%></a> <i>(<%$State%>)</i>
% if ($depth < 8) {
<& /RTIR/Elements/ShowIncidents, Ticket => $incident, depth => ($depth+1) &>
-% }
+% }
% }
% if ($depth == 1 and $count == 0) {
<i><% loc('(no Incidents)') %></i>
@@ -37,9 +37,9 @@
% if ($depth == 1) {
% if ($Ticket->Owner == $session{'CurrentUser'}->id) {
<b><a href="<%RT->Config->Get('WebPath')%>/RTIR/Incident/LinkToIncident.html?id=<% $Ticket->Id %>">[Link]</a></b>
-<b><a href="<%RT->Config->Get('WebPath')%>/RTIR/Create.html?Child=<%$Ticket->Id%>&Queue=Incidents">[New]</a></b>
+<b><a href="<%RT->Config->Get('WebPath')%>/RTIR/Create.html?Child=<% $Ticket->Id %>&Queue=Incidents">[New]</a></b>
% } else {
-<span class="note"><% loc('take to link') %></span>
+<a href="<% RT->Config->Get('WebPath') %>/RTIR/Display.html?Action=Take&id=<% $Ticket->Id %>">[<% loc('Take') %>]</a>
% }
% }
More information about the Rt-commit
mailing list