[Rt-commit] rt branch, 5.0/create_ticket_link_in_menu, created. rt-5.0.0alpha1-1-geae999534
Aaron Trevena
ast at bestpractical.com
Wed Feb 26 04:28:54 EST 2020
The branch, 5.0/create_ticket_link_in_menu has been created
at eae9995345bb504a18eebad01ca9ecba0d5ce197 (commit)
- Log -----------------------------------------------------------------
commit eae9995345bb504a18eebad01ca9ecba0d5ce197
Author: Aaron Trevena <aaron at aarontrevena.co.uk>
Date: Tue Nov 26 20:20:49 2019 +0000
Add Create Ticket link in Menu
Adds create ticket item to the home submenu that pops-up modal dialog to select queue and takes you to create ticket page in same way as button
Added new Ticket/CreateInQueue.html page that matches behaviour of Asset/CreatetInCatalog allowing right-click of menu item to open in new window/tab
Implements: I#221613
diff --git a/lib/RT/Interface/Web/MenuBuilder.pm b/lib/RT/Interface/Web/MenuBuilder.pm
index 5ce829c46..f6166821d 100644
--- a/lib/RT/Interface/Web/MenuBuilder.pm
+++ b/lib/RT/Interface/Web/MenuBuilder.pm
@@ -92,6 +92,9 @@ sub BuildMainNav {
}
my $home = $top->child( home => title => loc('Homepage'), path => '/' );
+ $home->child( createticket => title => loc("Create Ticket"),
+ path => "/Ticket/Create.html" );
+
unless ($HTML::Mason::Commands::session{'dashboards_in_menu'}) {
my $dashboards_in_menu = $current_user->UserObj->Preferences(
'DashboardsInMenu',
-----------------------------------------------------------------------
More information about the rt-commit
mailing list