def create_notice_types(app, created_models, verbosity, **kwargs): notification.create_notice_type("goal_ended", _("Goal Ended"), _("One of Your Goals has reached its Completion Date")) notification.create_notice_type("goal_verify_response", _("Goal Verified"), _("One of Your Goals has been VERIFIED!")) notification.create_notice_type("goal_verify_request", _("Goal Verification Request"), _("One of Your Students has asked that You Verify a Goal"))
def create_notice_types(app, created_models, verbosity, **kwargs): notification.create_notice_type("messages_received", _("Message Received"), _("you have received a message"), default=2) notification.create_notice_type("messages_sent", _("Message Sent"), _("you have sent a message"), default=1) notification.create_notice_type("messages_replied", _("Message Replied"), _("you have replied to a message"), default=1) notification.create_notice_type("messages_reply_received", _("Reply Received"), _("you have received a reply to a message"), default=2) notification.create_notice_type("messages_deleted", _("Message Deleted"), _("you have deleted a message"), default=1) notification.create_notice_type("messages_recovered", _("Message Recovered"), _("you have undeleted a message"), default=1)