[Rt-commit] [rtir] 07/19: Fix some path matching errors that broke the page nav
Jesse Vincent
jesse at bestpractical.com
Wed Mar 25 00:20:53 EDT 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 235746d87dbc09ef908296718d482a266753acfe
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 24 16:38:33 2015 -0700
Fix some path matching errors that broke the page nav
---
html/Callbacks/RTIR/Elements/Tabs/Privileged | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 8f08d28..cdc4775 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -315,7 +315,7 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
bookmark => raw_html => $m->scomp( '/Ticket/Elements/Bookmark', id => $id ),
sort_order => 99
);
-} elsif ( $request_path =~ m{(?:$re_rtir_path)Link/(ToIncident|FromIncident)/} ) {
+} elsif ( $request_path =~ m{(?:$re_rtir_path)Link/(ToIncident|FromIncident)} ) {
my $direction = $1;
my $lifecycle = $args->{'Lifecycle'};
@@ -349,7 +349,7 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
back => title => loc('Back to [_1] #[_2]',lc RT::IR::TicketType(Lifecycle => $ticket->QueueObj->Lifecycle), $id),
path => RT::IR->HREFTo("Display.html?id=$id"),
);
-} elsif ( $request_path =~ m{(?:$re_rtir_path)Incident/Children/} ) {
+} elsif ( $request_path =~ m{(?:$re_rtir_path)Incident/Children} ) {
my $lifecycle = $args->{'Lifecycle'} || RT::IR->lifecycle_report;
my $ticket = RT::Ticket->new( $session{'CurrentUser'} );
@@ -369,7 +369,7 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
back => title => loc('Back to [_1] #[_2]', lc RT::IR::TicketType( Lifecycle => $ticket->QueueObj->Lifecycle), $id),
path => RT::IR->HREFTo( "Display.html?id=$id"),
);
-} elsif ( $request_path =~ m{^(?:$re_rtir_path)Merge/} ) {
+} elsif ( $request_path =~ m{^(?:$re_rtir_path)Merge} ) {
my $ticket = RT::Ticket->new( $session{'CurrentUser'} );
$ticket->Load( $args->{'id'} );
my $id = $ticket->id;
@@ -391,7 +391,7 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
back => title => loc('Back to [_1] #[_2]', lc RT::IR::TicketType( Lifecycle => $ticket->QueueObj->Lifecycle), $id),
path => RT::IR->HREFTo("Display.html?id=$id"),
);
-} elsif ( $request_path =~ m{(?:$re_rtir_path)Incident/Reply/} ) {
+} elsif ( $request_path =~ m{(?:$re_rtir_path)Incident/Reply} ) {
my $ticket = RT::Ticket->new( $session{'CurrentUser'} );
$ticket->Load( $args->{'id'} );
my $id = $ticket->id;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list