Provides the notification service.
Get the number of notifications that are unread.
Retrieves the user’s unread notifications that are to be displayed on the web. Returns a dictionary containing their alerts, their unread notifications, and if there are more unread notifications.
Retrieves notifications that should be displayed in an alert.
Model definition for notification service.
Templates for built in notifications.
Renders the message first using Django’s templating system, then using Markdown. The template renderer uses the passed in context to insert variables.
Possible notification types.
Create an email notification.
Create an error level notification.
Create an info level notification.
Create a success notification.
Create a warning level notification.
Return the css class for the icon.
Return true if success.
Custom save method.
Return the style class
Handle the requests for the notification widget.
Handle the read notification request.
Supply the view_objects content, which are the last 3 unread notifications.