[Rt-commit] [rtir] 04/10: Partial porting of Tabs/Privileged to lifecycle helpers
Jesse Vincent
jesse at bestpractical.com
Sat Feb 21 16:15:16 EST 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 328f6413d4dcdffb472c734aedcf1c5b8ec3f001
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat Feb 21 11:52:47 2015 -0800
Partial porting of Tabs/Privileged to lifecycle helpers
---
html/Callbacks/RTIR/Elements/Tabs/Privileged | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 7d69dac..a2ab5b1 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -317,9 +317,9 @@ if ( $request_path =~ m{^/RTIR/(?:$re_rtir_types/)?(Display|Edit|Update|Forward|
path => "/RTIR/Link/$direction/Refine.html?". $query_string->( %args ),
);
PageMenu()->child(
- new => title => loc("New $type"),
+ new => title => loc("New [_1]", RT::IR::TicketType( Lifecycle => $lifecycle || RT::IR->lifecycle_incident ) ),
path => !$lifecycle
- ? "/RTIR/Create.html?Child=$id&Lifecycle=incidents"
+ ? "/RTIR/Create.html?Child=$id&Lifecycle=".RT::IR->lifecycle_incident
: "/RTIR/Create.html?". $query_string->( Incident => $id, Lifecycle => $lifecycle )
,
);
@@ -341,7 +341,7 @@ if ( $request_path =~ m{^/RTIR/(?:$re_rtir_types/)?(Display|Edit|Update|Forward|
);
PageMenu()->child(
- new => title => loc("New $type"),
+ new => title => loc("New [_1]",RT::IR::TicketType( Lifecycle => $lifecycle ) ),
path => "/RTIR/Create.html?". $query_string->( Incident => $id, Lifecycle => $lifecycle ),
);
PageMenu()->child(
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list