[Rt-commit] rt branch, 4.0/selfservice-menu-adjustments, created. rt-4.0.4-138-g4a4f05a
Jason May
jasonmay at bestpractical.com
Tue Dec 13 17:04:15 EST 2011
The branch, 4.0/selfservice-menu-adjustments has been created
at 4a4f05a5212fe663cb15c3278ad08272b75895cd (commit)
- Log -----------------------------------------------------------------
commit 4a4f05a5212fe663cb15c3278ad08272b75895cd
Author: Jason May <jasonmay at bestpractical.com>
Date: Tue Dec 13 17:03:31 2011 -0500
Make 'New Ticket' a top-level SelfService menu item
This is a very common action, so this will slightly improve user
experience.
http://issues.bestpractical.com/Ticket/Display.html?id=17087
diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 953e938..4e8ab1d 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -831,14 +831,14 @@ my $build_selfservice_nav = sub {
}
- my $tickets = Menu->child( tickets => title => loc('Tickets'));
- $tickets->child( open => title => loc('Open tickets'), path => '/SelfService/' );
- $tickets->child( closed => title => loc('Closed tickets'), path => '/SelfService/Closed.html' );
if ( $queue_count > 1 ) {
- $tickets->child( new => title => loc('New ticket'), path => '/SelfService/CreateTicketInQueue.html' );
+ Menu->child( new => title => loc('New ticket'), path => '/SelfService/CreateTicketInQueue.html' );
} else {
- $tickets->child( new => title => loc('New ticket'), path => '/SelfService/Create.html?Queue=' . $queue_id );
+ Menu->child( new => title => loc('New ticket'), path => '/SelfService/Create.html?Queue=' . $queue_id );
}
+ my $tickets = Menu->child( tickets => title => loc('Tickets'));
+ $tickets->child( open => title => loc('Open tickets'), path => '/SelfService/' );
+ $tickets->child( closed => title => loc('Closed tickets'), path => '/SelfService/Closed.html' );
my $username = '<span class="current-user">'
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list