[Rt-commit] rt branch, 4.0/dashboard-subscriptions, updated. rt-4.0.2-33-g11a6cf6
Jason May
jasonmay at bestpractical.com
Mon Aug 29 12:22:26 EDT 2011
The branch, 4.0/dashboard-subscriptions has been updated
via 11a6cf66459c7ec9cdf5656b426570eb99214227 (commit)
from d0bda29347af1dd81ad7aaa9dad405ffa4783b58 (commit)
Summary of changes:
share/html/Elements/RT__Dashboard/ColumnMap | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 11a6cf66459c7ec9cdf5656b426570eb99214227
Author: Jason May <jasonmay at bestpractical.com>
Date: Mon Aug 29 12:10:41 2011 -0400
Add m-f as a column map as well as Never and a fallback
Displaying a fallback like this is a bit ugly, but it's better than
misleading by saying there is no subscription.
diff --git a/share/html/Elements/RT__Dashboard/ColumnMap b/share/html/Elements/RT__Dashboard/ColumnMap
index e6b25bd..701db53 100644
--- a/share/html/Elements/RT__Dashboard/ColumnMap
+++ b/share/html/Elements/RT__Dashboard/ColumnMap
@@ -100,6 +100,15 @@ my $COLUMN_MAP = {
elsif ($freq eq 'daily') {
$frequency = loc("daily at [_1]", $hour);
}
+ elsif ($freq eq 'm-f') {
+ $frequency = loc("M-F at [_1]", $hour);
+ }
+ elsif ($freq eq 'never') {
+ $frequency = loc("Never");
+ }
+ else {
+ $frequency = loc($freq);
+ }
}
return \('<a href="'.$url.'">'.$frequency.'</a>');
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list