Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt
Commits
43a33bb0
Commit
43a33bb0
authored
Sep 09, 2014
by
Alex Vandiver
Browse files
Merge branch '4.2/more-about-requestor-tickets' into 4.2-trunk
parents
8ad6d22a
ce913d52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
share/html/Ticket/Elements/ShowRequestor
share/html/Ticket/Elements/ShowRequestor
+9
-6
No files found.
share/html/Ticket/Elements/ShowRequestor
View file @
43a33bb0
...
...
@@ -162,17 +162,20 @@ my $status_link_text = {Active => loc('Active Tickets'),
my $status_order = [qw/Active Inactive All/];
$m->callback( CallbackName => 'AddStatus', status_link_text => \$status_link_text, status_order => \$status_order );
unless ( $DefaultTicketsTab eq 'None' ) {
$ShowTickets = 0 if $DefaultTicketsTab eq 'None';
my $TicketTemplate;
if ($ShowTickets) {
for (0 .. (@$status_order - 1)) {
$selected = $_ && last
if $status_order->[$_] eq $DefaultTicketsTab;
}
}
my
$TicketTemplate = "ShowRequestorTickets$DefaultTicketsTab";
$TicketTemplate = "ShowRequestorTicketsActive"
$TicketTemplate = "ShowRequestorTickets$DefaultTicketsTab";
$TicketTemplate = "ShowRequestorTicketsActive"
unless RT::Interface::Web->ComponentPathIsSafe($TicketTemplate)
and $m->comp_exists($TicketTemplate);
}
</%INIT>
<%ARGS>
$Ticket=>undef
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment