[rt-users] Web reply form show status dropdown for non-privileged users
Jerrad Pierce
jpierce at cambridgeenergyalliance.org
Fri Apr 9 12:20:27 EDT 2010
> <tr>
> <td class="label">
> <&|/l&>Status</&>
> </td>
> <td class="value">
> <& /Elements/SelectStatus, Name=>"Status", DefaultLabel =>
> loc("[_1] (Unchanged)", loc($Ticket->Status)), Default => $ARGS{'Status'} ||
> ($Ticket->Status
> eq $DefaultStatus ? undef : $DefaultStatus)&>
> </td>
> </tr>
Probably better to change
<& /Elements/SelectStatus, Name=>"Status", DefaultLabel =>
loc("[_1] (Unchanged)", loc($Ticket->Status)), Default => $ARGS{'Status'} ||
($Ticket->Status eq $DefaultStatus ? undef : $DefaultStatus)&>
To
<%perl> print $Ticket->Status</%perl>
--
Cambridge Energy Alliance: Save money. Save the planet.
More information about the rt-users
mailing list