[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-56-g3e10e09
? sunnavy
sunnavy at bestpractical.com
Mon May 17 10:56:40 EDT 2010
The branch, 3.8-trunk has been updated
via 3e10e09d9118e14b8e4d6e4cccbc0951db7a18d1 (commit)
from 072d1573ecbd7c22bc03a5b5bf4d977b7177fa2d (commit)
Summary of changes:
share/html/Ticket/Elements/ShowTransaction | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
- Log -----------------------------------------------------------------
commit 3e10e09d9118e14b8e4d6e4cccbc0951db7a18d1
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon May 17 22:55:10 2010 +0800
back 3c82cc: see #14415
diff --git a/share/html/Ticket/Elements/ShowTransaction b/share/html/Ticket/Elements/ShowTransaction
index ecffe48..6ccbb0c 100755
--- a/share/html/Ticket/Elements/ShowTransaction
+++ b/share/html/Ticket/Elements/ShowTransaction
@@ -178,15 +178,6 @@ else {
if ( $Attachments->[0] && $ShowTitleBarCommands ) {
my $ticket = $Transaction->TicketObj;
my $can_modify = $ticket->CurrentUserHasRight('ModifyTicket');
- if ( $can_modify || $ticket->CurrentUserHasRight('CommentOnTicket') ) {
- $titlebar_commands .=
- "[<a href=\"".$UpdatePath."?id="
- . $Transaction->Ticket
- . "&QuoteTransaction="
- . $Transaction->Id
- . "&Action=Comment\">"
- . loc('Comment') . "</a>]";
- }
if ( $can_modify || $ticket->CurrentUserHasRight('ReplyToTicket') ) {
$titlebar_commands .=
"[<a href=\"".$UpdatePath
@@ -196,6 +187,15 @@ else {
. loc('Reply')
. "</a>] ";
}
+ if ( $can_modify || $ticket->CurrentUserHasRight('CommentOnTicket') ) {
+ $titlebar_commands .=
+ "[<a href=\"".$UpdatePath."?id="
+ . $Transaction->Ticket
+ . "&QuoteTransaction="
+ . $Transaction->Id
+ . "&Action=Comment\">"
+ . loc('Comment') . "</a>]";
+ }
if ( $ticket->CurrentUserHasRight('ForwardMessage') ) {
$titlebar_commands .=
"[<a href=\"". $ForwardPath
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list