[Bps-public-commit] r20197 - RT-BugTracker-Public/html/Public/Bug
ruz at bestpractical.com
ruz at bestpractical.com
Thu Dec 10 10:39:43 EST 2009
Author: ruz
Date: Thu Dec 10 10:39:41 2009
New Revision: 20197
Modified:
RT-BugTracker-Public/html/Public/Bug/Display.html
Log:
* display queue name in title
* use new ticket argument of Tabs for better menu
Modified: RT-BugTracker-Public/html/Public/Bug/Display.html
==============================================================================
--- RT-BugTracker-Public/html/Public/Bug/Display.html (original)
+++ RT-BugTracker-Public/html/Public/Bug/Display.html Thu Dec 10 10:39:41 2009
@@ -46,11 +46,11 @@
%#
%# END BPS TAGGED BLOCK }}}
<& /Elements/Header,
- Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject) &>
+ Title => $title &>
<& /Public/Elements/Tabs,
- Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject),
- queue => $TicketObj->QueueObj->Name,
- &>
+ Title => $title,
+ ticket => $TicketObj,
+&>
<& /Elements/ListActions, actions => \@Actions &>
@@ -168,6 +168,11 @@
my $attachments = $m->comp('/Ticket/Elements/FindAttachments', Ticket => $TicketObj, Tickets => $Tickets);
my $attachment_content = $m->comp('/Ticket/Elements/LoadTextAttachments', Ticket => $TicketObj);
+my $title = loc(
+ "Bug #[_1] for [_2]: [_3]",
+ $TicketObj->Id, $TicketObj->QueueObj->Name, $TicketObj->Subject
+);
+
sub _UpdateMessage {
# Modified version of RT::Interface::Web::ProcessUpdateMessage()
#TODO document what else this takes.
More information about the Bps-public-commit
mailing list