diff --git a/notifications.yaml b/notifications.yaml index e3b7b286a30..6161abd9fc6 100644 --- a/notifications.yaml +++ b/notifications.yaml @@ -801,3 +801,10 @@ notification_types: object_content_type_model_name: abstractnode template: 'website/templates/empty.html.mako' tests: [] + + - name: blank + subject: 'PLACEHOLDER FOR EMAIL SUBJECT' + __docs__: ... + object_content_type_model_name: osfuser + template: 'website/templates/blank.html.mako' + tests: [] diff --git a/osf/models/notification_type.py b/osf/models/notification_type.py index f8162a08bce..9a6629e22e2 100644 --- a/osf/models/notification_type.py +++ b/osf/models/notification_type.py @@ -14,6 +14,7 @@ def get_default_frequency_choices(): class NotificationTypeEnum(str, Enum): EMPTY = 'empty' + BLANK = 'blank' # Desk notifications REVIEWS_SUBMISSION_STATUS = 'reviews_submission_status' ADDONS_BOA_JOB_FAILURE = 'addon_boa_job_failure' diff --git a/website/templates/blank.html.mako b/website/templates/blank.html.mako new file mode 100644 index 00000000000..f41301c1d1c --- /dev/null +++ b/website/templates/blank.html.mako @@ -0,0 +1,5 @@ +<%inherit file="notify_base.mako" /> + +<%def name="content()"> + +