[Rt-commit] [svn] r1470 - in rtir/branches/1.1/html/RTIR: . Incident
leira at pallas.eruditorum.org
leira at pallas.eruditorum.org
Fri Sep 10 00:58:10 EDT 2004
Author: leira
Date: Fri Sep 10 00:58:09 2004
New Revision: 1470
Modified:
rtir/branches/1.1/html/RTIR/Edit.html
rtir/branches/1.1/html/RTIR/Incident/Edit.html
Log:
Don't use ShadedInputRow, as it doesn't exist any more.
Modified: rtir/branches/1.1/html/RTIR/Edit.html
==============================================================================
--- rtir/branches/1.1/html/RTIR/Edit.html (original)
+++ rtir/branches/1.1/html/RTIR/Edit.html Fri Sep 10 00:58:09 2004
@@ -56,11 +56,10 @@
<& /RTIR/Elements/ShowRTIRField, Ticket => $Ticket, Name => 'State' &>
</td>
</tr>
- <& /Elements/ShadedInputRow,
- title => loc('Subject'),
- name => "Subject",
- content => $Ticket->Subject,
- size => 30 &>
+ <tr>
+ <td class="label"><&|/l&>Subject</&>:</td>
+ <td class="value"><input name=Subject value="<%$Ticket->Subject|h%>" SIZE=50></td>
+ </tr>
<TR>
<TD class=label>
<&|/l&>Owner</&>:
@@ -77,11 +76,10 @@
<& /RTIR/Elements/ShowIncidents, Ticket => $Ticket &>
</td>
</tr>
- <& /Elements/ShadedInputRow,
- title => loc('Time Worked'),
- name => "TimeWorked",
- content => $Ticket->TimeWorked,
- size => 5 &>
+ <tr>
+ <td class="label"><&|/l&>Time Worked</&>:</td>
+ <td class="value"><input name=TimeWorked value="<%$Ticket->TimeWorked|h%>" SIZE="5"></td>
+ </tr>
% if ($Type eq 'Report') {
<tr>
@@ -187,7 +185,7 @@
<%INIT>
my $Ticket = LoadTicket($id);
-($Type, undef) = $m->comp('Elements/Type', Ticket => $Ticket->Id);
+my ($Type, undef) = $m->comp('Elements/Type', Ticket => $Ticket->Id);
my $name;
if ($Type eq 'Report') {
Modified: rtir/branches/1.1/html/RTIR/Incident/Edit.html
==============================================================================
--- rtir/branches/1.1/html/RTIR/Incident/Edit.html (original)
+++ rtir/branches/1.1/html/RTIR/Incident/Edit.html Fri Sep 10 00:58:09 2004
@@ -64,11 +64,10 @@
<& /Elements/SelectOwner, Name => 'Owner', QueueObj => $Ticket->QueueObj, TicketObj => $Ticket, Default => $Ticket->OwnerObj->Id &>
</td>
</tr>
- <& /Elements/ShadedInputRow,
- title => loc('Subject'),
- name => "Subject",
- content => $Ticket->Subject,
- size => 60 &>
+ <tr>
+ <td class="label"><&|/l&>Subject</&>:</td>
+ <td class="value"><input name=Subject value="<%$Ticket->Subject|h%>" SIZE=50></td>
+ </tr>
<tr>
<td class="label"><&|/l&>Description</&>:</td>
<td class="value">
@@ -78,16 +77,14 @@
Cols => 60 &>
</td>
</tr>
- <& /Elements/ShadedInputRow,
- title => loc('Priority'),
- name => "Priority",
- content => $Ticket->Priority,
- size => 5 &>
- <& /Elements/ShadedInputRow,
- title => loc('Time Worked'),
- name => "TimeWorked",
- content => $Ticket->TimeWorked,
- size => 5 &>
+ <tr>
+ <td class="label"><&|/l&>Priority</&>:</td>
+ <td class="value"><input name=Priority value="<%$TicketObj->Priority|h%>" SIZE="5"></td>
+ </tr>
+ <tr>
+ <td class="label"><&|/l&>Time Worked</&>:</td>
+ <td class="value"><input name=TimeWorked value="<%$Ticket->TimeWorked|h%>" SIZE="5"></td>
+ </tr>
<tr>
<td class="label"><&|/l&>Constituency</&>:</td>
<td class="value">
More information about the Rt-commit
mailing list