Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
1 change: 1 addition & 0 deletions osf/models/notification_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def get_default_frequency_choices():

class NotificationTypeEnum(str, Enum):
EMPTY = 'empty'
Comment thread
cslzchen marked this conversation as resolved.
BLANK = 'blank'
# Desk notifications
REVIEWS_SUBMISSION_STATUS = 'reviews_submission_status'
ADDONS_BOA_JOB_FAILURE = 'addon_boa_job_failure'
Expand Down
5 changes: 5 additions & 0 deletions website/templates/blank.html.mako
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<%inherit file="notify_base.mako" />

<%def name="content()">

</%def>