[Rt-commit] [rtir] 03/10: Partial port 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 a606a8f38b8454e59b95668bdcc329c14761e03a
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Feb 21 11:51:14 2015 -0800

    Partial port of tabs/privileged to lifecycle helpers
---
 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 cb9e6f8..7d69dac 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -89,17 +89,17 @@ if ( $has_query ) {
 
 $root->child(
     incidents => title => loc('Incidents'),
-    path => '/RTIR/Search/Results.html?Lifecycle=incidents'
+    path => '/RTIR/Search/Results.html?Lifecycle='.RT::IR->lifecycle_incident
 )->child(
     create => title => loc('Create'),
-    path => '/RTIR/Create.html?Lifecycle=incidents',
+    path => '/RTIR/Create.html?Lifecycle='.RT::IR->lifecycle_incident,
 );
 $root->child(
     reports => title => loc('Incident Reports'),
-    path => '/RTIR/Search/Results.html?Lifecycle=incident_reports'
+    path => '/RTIR/Search/Results.html?Lifecycle='. RT::IR->lifecycle_report
 )->child(
     create => title => loc('Create'),
-    path => '/RTIR/Create.html?Lifecycle=incident_reports',
+    path => '/RTIR/Create.html?Lifecycle='. RT::IR->lifecycle_report,
 );
 $root->child(
     investigations => title => loc('Investigations'),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list