Skip to content

Commit

Permalink
Add MyWeek page for updating time on tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Sep 6, 2024
1 parent c14c506 commit e305deb
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/RT/Interface/Web/MenuBuilder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ sub BuildMainNav {
path => '/Tools/MyDay.html',
);

$tools->child( my_week =>
title => loc('My Week'),
description => loc('View and track time on weekly active tickets'),
path => '/Tools/MyWeek.html',
);

if ( RT->Config->Get('EnableReminders') ) {
$tools->child( my_reminders =>
title => loc('My Reminders'),
Expand Down
1 change: 1 addition & 0 deletions lib/RT/System.pm
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ __PACKAGE__->AddRight( Admin => ExecuteCode => 'Allow writing Perl cod
__PACKAGE__->AddRight( General => SeeSelfServiceGroupTicket => 'See tickets for other group members in SelfService' ); # loc
__PACKAGE__->AddRight( Staff => ShowSearchAdvanced => 'Show search "Advanced" menu' ); # loc
__PACKAGE__->AddRight( Staff => ShowSearchBulkUpdate => 'Show search "Bulk Update" menu' ); # loc
__PACKAGE__->AddRight( Admin => AdminTimesheets => 'Add time worked for other users' ); # loc

=head2 AvailableRights
Expand Down
Loading

0 comments on commit e305deb

Please sign in to comment.