Changes between Version 5 and Version 6 of CookBook/Notification/Subscriptions
- Timestamp:
- Mar 14, 2017, 3:11:27 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBook/Notification/Subscriptions
v5 v6 203 203 from trac.notification.api import INotificationSubscriber 204 204 from trac.notification.model import Subscription 205 from trac.util.translation import _ 206 205 207 206 208 class BlockerSeverityTicketSubscriber(Component): … … 215 217 return 216 218 ticket = event.target 217 if t arget['severity'] != 'blocker':219 if ticket['severity'] != 'blocker': 218 220 return 219 221 … … 223 225 224 226 def description(self): 225 return _(" Any ticket is created")227 return _("Ticket with severity 'blocker' is created or modified") 226 228 227 229 def default_subscriptions(self):