[Rt-commit] rt branch, 4.2/date-time-improvements-in-charts, updated. rt-3.8.10-126-ge098bbd
Ruslan Zakirov
ruz at bestpractical.com
Tue Sep 13 10:26:49 EDT 2011
The branch, 4.2/date-time-improvements-in-charts has been updated
via e098bbd584e2c2c3a47ec2c9c968c669011ac6cc (commit)
via 5ad6f515cac0f451dd92e26bc689ef1cec0fd4e6 (commit)
via 2aef5b711f49d16a0753cd186b75945012e5b9d9 (commit)
from cfd08d85d686cb0f3d2e4c5624b1d65408ee2b9f (commit)
Summary of changes:
lib/RT/Report/Tickets.pm | 8 ++++----
share/html/Search/Chart.html | 3 ---
2 files changed, 4 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 2aef5b711f49d16a0753cd186b75945012e5b9d9
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Sep 13 18:24:31 2011 +0400
fix splitting CamelCase words
diff --git a/lib/RT/Report/Tickets.pm b/lib/RT/Report/Tickets.pm
index 6a326a3..0870822 100644
--- a/lib/RT/Report/Tickets.pm
+++ b/lib/RT/Report/Tickets.pm
@@ -199,7 +199,7 @@ our @STATISTICS = (
);
foreach my $field (qw(TimeWorked TimeEstimated TimeLeft)) {
- my $friendly = lc join ' ', split /(?<=[a-z])(?=A-Z)/, $field;
+ my $friendly = lc join ' ', split /(?<=[a-z])(?=[A-Z])/, $field;
push @STATISTICS, (
"ALL($field)" => [ucfirst $friendly, 'TimeAll', $field ],
"SUM($field)" => ["Total $friendly", 'Time', 'SUM', $field ],
commit 5ad6f515cac0f451dd92e26bc689ef1cec0fd4e6
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Sep 13 18:25:06 2011 +0400
normalize names of statistics displayed in the UI
diff --git a/lib/RT/Report/Tickets.pm b/lib/RT/Report/Tickets.pm
index 0870822..cae93ff 100644
--- a/lib/RT/Report/Tickets.pm
+++ b/lib/RT/Report/Tickets.pm
@@ -201,7 +201,7 @@ our @STATISTICS = (
foreach my $field (qw(TimeWorked TimeEstimated TimeLeft)) {
my $friendly = lc join ' ', split /(?<=[a-z])(?=[A-Z])/, $field;
push @STATISTICS, (
- "ALL($field)" => [ucfirst $friendly, 'TimeAll', $field ],
+ "ALL($field)" => ["Summary of $friendly", 'TimeAll', $field ],
"SUM($field)" => ["Total $friendly", 'Time', 'SUM', $field ],
"AVG($field)" => ["Average $friendly", 'Time', 'AVG', $field ],
"MIN($field)" => ["Minimum $friendly", 'Time', 'MIN', $field ],
@@ -219,8 +219,8 @@ foreach my $pair (qw(
)) {
my ($from, $to) = split /-/, $pair;
push @STATISTICS, (
- "ALL($pair)" => [$pair, 'DateTimeIntervalAll', $from, $to ],
- "SUM($pair)" => ["Summary of $pair", 'DateTimeInterval', 'SUM', $from, $to ],
+ "ALL($pair)" => ["Summary of $pair", 'DateTimeIntervalAll', $from, $to ],
+ "SUM($pair)" => ["Total $pair", 'DateTimeInterval', 'SUM', $from, $to ],
"AVG($pair)" => ["Average $pair", 'DateTimeInterval', 'AVG', $from, $to ],
"MIN($pair)" => ["Minimum $pair", 'DateTimeInterval', 'MIN', $from, $to ],
"MAX($pair)" => ["Maximum $pair", 'DateTimeInterval', 'MAX', $from, $to ],
commit e098bbd584e2c2c3a47ec2c9c968c669011ac6cc
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Tue Sep 13 18:25:37 2011 +0400
we don't have Table options, delete the box
diff --git a/share/html/Search/Chart.html b/share/html/Search/Chart.html
index 665cbf5..4154683 100644
--- a/share/html/Search/Chart.html
+++ b/share/html/Search/Chart.html
@@ -103,9 +103,6 @@ my @actions = $m->comp( '/Widgets/SavedSearch:process', args => \%ARGS, self =>
<% loc('Style') %> <& Elements/SelectChartType, Default => $ChartStyle, Name => 'ChartStyle' &>
</&>
-<&| /Widgets/TitleBox, title => loc('Table') &>
-</&>
-
<& /Elements/Submit, Label => loc('Update Graph'), Name => 'Update' &>
</form>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list