[Rt-commit] rt branch, 4.0/transaction-link-classes, updated. rt-4.0.1-118-g9506dcc
Shawn Moore
sartak at bestpractical.com
Wed Jun 22 17:48:20 EDT 2011
The branch, 4.0/transaction-link-classes has been updated
via 9506dccc4700024b3ab86741e7100d27eb13b7d6 (commit)
from dc57120b621efa4e3f99a0319944f99885d9d85a (commit)
Summary of changes:
share/html/Ticket/Elements/ShowTransaction | 38 +++++++++++++++++-----------
1 files changed, 23 insertions(+), 15 deletions(-)
- Log -----------------------------------------------------------------
commit 9506dccc4700024b3ab86741e7100d27eb13b7d6
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Jun 22 17:47:32 2011 -0400
More consistent layout for transaction links
diff --git a/share/html/Ticket/Elements/ShowTransaction b/share/html/Ticket/Elements/ShowTransaction
index 5c9b88d..1bd38ef 100755
--- a/share/html/Ticket/Elements/ShowTransaction
+++ b/share/html/Ticket/Elements/ShowTransaction
@@ -178,30 +178,35 @@ else {
my $can_modify = $ticket->CurrentUserHasRight('ModifyTicket');
if ( $can_modify || $ticket->CurrentUserHasRight('ReplyToTicket') ) {
$titlebar_commands .=
- "[<a href=\"".$UpdatePath
+ "[<a href=\"" . $UpdatePath
. "?id=" . $Transaction->Ticket
. "&QuoteTransaction=" . $Transaction->Id
. "&Action=Respond\" "
- . "class=\"reply-link\">"
+ . "class=\"reply-link\""
+ . ">"
. loc('Reply')
. "</a>] ";
}
if ( $can_modify || $ticket->CurrentUserHasRight('CommentOnTicket') ) {
$titlebar_commands .=
- "[<a href=\"".$UpdatePath."?id="
- . $Transaction->Ticket
- . "&QuoteTransaction="
- . $Transaction->Id
+ "[<a href=\"" . $UpdatePath
+ . "?id=" . $Transaction->Ticket
+ . "&QuoteTransaction=" . $Transaction->Id
. "&Action=Comment\" "
- . "class=\"comment-link\">"
- . loc('Comment') . "</a>]";
+ . "class=\"comment-link\""
+ . ">"
+ . loc('Comment')
+ . "</a>]";
}
if ( $ticket->CurrentUserHasRight('ForwardMessage') ) {
$titlebar_commands .=
- "[<a href=\"". $ForwardPath
- . "?id=". $Transaction->Ticket
- . "&QuoteTransaction=". $Transaction->Id ."\" "
- . "class=\"forward-link\">". loc('Forward') . "</a>]";
+ "[<a href=\"" . $ForwardPath
+ . "?id=" . $Transaction->Ticket
+ . "&QuoteTransaction=" . $Transaction->Id ."\" "
+ . "class=\"forward-link\""
+ . ">"
+ . loc('Forward')
+ . "</a>]";
}
if ( $can_modify
&& RT->Config->Get('GnuPG')->{'Enable'}
@@ -209,9 +214,12 @@ else {
&& $ticket->CurrentUserHasRight('ForwardMessage')
) {
$titlebar_commands .=
- "[<a href=\"". $EncryptionPath
- . "?id=". $Transaction->Id ."\" "
- . "class=\"gpg-link\">". loc('Encrypt/Decrypt') . "</a>]";
+ "[<a href=\"" . $EncryptionPath
+ . "?id=" . $Transaction->Id ."\" "
+ . "class=\"gpg-link\""
+ . ">"
+ . loc('Encrypt/Decrypt')
+ . "</a>]";
}
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list