[Rt-commit] r13577 - in rt/3.8/trunk: . etc/upgrade/3.7.87

sartak at bestpractical.com sartak at bestpractical.com
Tue Jun 24 17:02:47 EDT 2008


Author: sartak
Date: Tue Jun 24 17:02:46 2008
New Revision: 13577

Added:
   rt/3.8/trunk/etc/upgrade/3.7.87/
   rt/3.8/trunk/etc/upgrade/3.7.87/content
Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/etc/initialdata

Log:
 r63191 at onn:  sartak | 2008-06-24 16:59:22 -0400
 Add an "Error: Missing dashboard" template to send to users when their subscription is invalidated by a dashboard being deleted


Modified: rt/3.8/trunk/etc/initialdata
==============================================================================
--- rt/3.8/trunk/etc/initialdata	(original)
+++ rt/3.8/trunk/etc/initialdata	Tue Jun 24 17:02:46 2008
@@ -428,6 +428,31 @@
 ],
                },
 
+{
+    Queue       => 0,
+    Name        => "Error: Missing dashboard",    # loc
+    Description =>
+      "Inform user that a dashboard he subscribed to is missing", # loc
+    Content => q{Subject: [{RT->Config->Get('rtname')}] Missing dashboard!
+
+Greetings,
+
+You are subscribed to a dashboard that is currently missing. Most likely, the dashboard was deleted.
+
+RT will remove this subscription as it is no longer useful. Here's the information RT had about your subscription:
+
+DashboardID:  { $SubscriptionObj->SubValue('DashboardId') }
+Frequency:    { $SubscriptionObj->SubValue('Frequency') }
+Hour:         { $SubscriptionObj->SubValue('Hour') }
+{
+    $SubscriptionObj->SubValue('Frequency') eq 'weekly'
+    ? "Day of week:  " . $SubscriptionObj->SubValue('Dow')
+    : $SubscriptionObj->SubValue('Frequency') eq 'monthly'
+      ? "Day of month: " . $SubscriptionObj->SubValue('Dom')
+      : ''
+}
+}
+},
 );
 # }}}
 

Added: rt/3.8/trunk/etc/upgrade/3.7.87/content
==============================================================================
--- (empty file)
+++ rt/3.8/trunk/etc/upgrade/3.7.87/content	Tue Jun 24 17:02:46 2008
@@ -0,0 +1,28 @@
+ at Templates = (
+{
+    Queue       => 0,
+    Name        => "Error: Missing dashboard",    # loc
+    Description =>
+      "Inform user that a dashboard he subscribed to is missing", # loc
+    Content => q{Subject: [{RT->Config->Get('rtname')}] Missing dashboard!
+
+Greetings,
+
+You are subscribed to a dashboard that is currently missing. Most likely, the dashboard was deleted.
+
+RT will remove this subscription as it is no longer useful. Here's the information RT had about your subscription:
+
+DashboardID:  { $SubscriptionObj->SubValue('DashboardId') }
+Frequency:    { $SubscriptionObj->SubValue('Frequency') }
+Hour:         { $SubscriptionObj->SubValue('Hour') }
+{
+    $SubscriptionObj->SubValue('Frequency') eq 'weekly'
+    ? "Day of week:  " . $SubscriptionObj->SubValue('Dow')
+    : $SubscriptionObj->SubValue('Frequency') eq 'monthly'
+      ? "Day of month: " . $SubscriptionObj->SubValue('Dom')
+      : ''
+}
+}
+},
+);
+


More information about the Rt-commit mailing list