[Rt-commit] rt branch, 4.4/user-time-worked, repushed
Craig Kaiser
craig at bestpractical.com
Fri Jul 27 13:41:02 EDT 2018
The branch 4.4/user-time-worked was deleted and repushed:
was 1c19f7e348c2d93021c24b172b958773c3529f27
now 8be55a1bb50ad818da43763b0c59b2962a895c68
1: 1c19f7e34 ! 1: 59b48b16b Create a standard RT Time Worked report
@@ -6,23 +6,22 @@
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@
- path => '/Tools/MyDay.html',
+ path => '/Reports/ResolvedByDates.html',
+ description => loc('Examine tickets resolved in a queue between two dates'),
);
-
-+ $tools->child( user_time =>
-+ title => loc('User Time'),
-+ description => loc('See time worked by user'),
-+ path => '/Tools/TimeWorkedReport.html',
++ $reports->child( user_time =>
++ title => loc('User time worked'),
++ description => loc('User time worked'),
++ path => '/Reports/TimeWorkedReport.html',
+ );
-+
- if ( RT->Config->Get('EnableReminders') ) {
- $tools->child( my_reminders =>
- title => loc('My Reminders'),
-
-diff --git a/share/html/Tools/TimeWorkedReport.html b/share/html/Tools/TimeWorkedReport.html
+ $reports->child( createdindaterange =>
+ title => loc('Created in a date range'),
+ path => '/Reports/CreatedByDates.html',
+
+diff --git a/share/html/Reports/TimeWorkedReport.html b/share/html/Reports/TimeWorkedReport.html
new file mode 100644
--- /dev/null
-+++ b/share/html/Tools/TimeWorkedReport.html
++++ b/share/html/Reports/TimeWorkedReport.html
@@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
@@ -218,7 +217,7 @@
+ if ( $delim && $delim eq 'User' ) {
+ $delimeter = 'User: ' . $worker->Name;
+ } elsif ( $delim && $delim eq 'Ticket' ) {
-+ $delimeter = 'Ticket: # ' . $ticket->Id;
++ $delimeter = $ticket->Id . ': ' . $ticket->Subject;
+ } elsif ( $delim && $delim eq 'Queue' ) {
+ $delimeter = 'Queue: ' . $ticket->QueueObj->Name;
+ } else {
@@ -244,3 +243,4 @@
+$data => undef
+$queue_limit => undef
+</%ARGS>
+
-: ------- > 2: 8be55a1bb Add docs for User Time Worked Report
More information about the rt-commit
mailing list