Ticket Creation Titile

Hey Guys,

           This is not exactly an exciting request, but can there be more of a title on a ticket creation page to make it more clear to users.  Currently if a Privileged user wants to create a ticket they select the queue in the drop down menu and it takes them to a page for creating it.  At that point the drop down returns to default and the only sign of what queue they are in is the smallest writing on the page.  Can a title be added to the top?  Or can the Create a new ticket  be changed to Create a new ticket in <queue name>?  By moving the my $title line below the $QueueObj and adding the name it seems to work well. 

           Thanks,

           Chris Lasater

#Original

Around line 358 in rt4/share/html/Ticket/Create.html

my @results;

my $title = loc(“Create a new ticket”);

my $QueueObj = RT::Queue->new($session{‘CurrentUser’});

$QueueObj->Load($Queue) || Abort(loc(“Queue could not be loaded.”));

$m->callback( QueueObj => $QueueObj, title => $title, results => @results, ARGSRef => %ARGS );

#Modified

my @results;

my $QueueObj = RT::Queue->new($session{‘CurrentUser’});

$QueueObj->Load($Queue) || Abort(loc(“Queue could not be loaded.”));

my $title = loc("Create a new ticket in " . $QueueObj->Name);

$m->callback( QueueObj => $QueueObj, title => $title, results => @results, ARGSRef => %ARGS );

PGP.sig (475 Bytes)

           This is not exactly an exciting request, but can there be more of a title on a ticket creation page to make it more clear to users.  Currently if a Privileged user wants to create a ticket they select the queue in the drop down menu and it takes them to a page for creating it.  At that point the drop down returns to default and the only sign of what queue they are in is the smallest writing on the page.  Can a title be added to the top?  Or can the Create a new ticket  be changed to Create a new ticket in <queue name>?  By moving the my $title line below the $QueueObj and adding the name it seems to work well. 

If you want the dropdown to stick to the last queue you selected,
there’s a user and global preference for that (RememberDefaultQueue).

If you wanted to send a patch to rt-bugs, I’d want to see how it
changes the UI. Please note that adding queue names into a loc()ed
string will break translations of RT. You need to do the [_1] tricks
you see elsewhere in the source.

-kevin

Thanks! I had found that Remember Default Queue before, and it simulates what I was hoping for. It still would be nicer to have a title with the Queue Name. I changed the line to use the [_1] instead of just concatenating and I will look into adding an rt-bug.

Yeah, just tested out the Translation :frowning: it breaks in other languages, and I don’t think I know all the languages RT supports.
Chris

PGP.sig (475 Bytes)