[Rt-commit] [rtir] 01/03: Add ticket timer button to RTIR ticket page menus
Shawn Moore
shawn at bestpractical.com
Thu May 12 11:42:56 EDT 2016
This is an automated email from the git hooks/post-receive script.
shawn pushed a commit to branch 3.4/ticket-timer
in repository rtir.
commit fab060e14835211dd8491cfe087299e36e132919
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu May 12 15:41:42 2016 +0000
Add ticket timer button to RTIR ticket page menus
Fixes: I#31934
---
html/Callbacks/RTIR/Elements/Tabs/Privileged | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index 5fa558f..a8fa11e 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -313,8 +313,15 @@ if ( $request_path =~ m{(?:$re_rtir_path)(?:$re_rtir_types/)?(Display|Edit|Updat
PageMenu()->child(
bookmark => raw_html => $m->scomp( '/Ticket/Elements/Bookmark', id => $id ),
- sort_order => 99
+ sort_order => 98
);
+ if ($can->('ModifyTicket')) {
+ PageMenu()->child(
+ timer => raw_html => $m->scomp( '/Ticket/Elements/PopupTimerLink', id => $id ),
+ sort_order => 99
+ );
+ }
+
} elsif ( $request_path =~ m{(?:$re_rtir_path)Link/(ToIncident|FromIncident)} ) {
my $direction = $1;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list