From 8369766692ca2cdcc66d93ab0bef7f24ddc7cfef Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 5 Sep 2024 09:46:42 -0500 Subject: [PATCH 1/5] Add additional information to the rejected user email --- .../templates/api/mail/rejected_user_message.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dandiapi/api/templates/api/mail/rejected_user_message.txt b/dandiapi/api/templates/api/mail/rejected_user_message.txt index 925e50e67..558c3db5b 100644 --- a/dandiapi/api/templates/api/mail/rejected_user_message.txt +++ b/dandiapi/api/templates/api/mail/rejected_user_message.txt @@ -2,13 +2,20 @@ Dear {{ greeting_name }}, Your DANDI account has been denied approval. + +DANDI is freely accessible to the neuroscience research community. Membership is usually granted automatically to GitHub accounts with a .edu or similar academic email. If your registration is denied: + +- With an academic email not linked to your GitHub, please contact help@dandiarchive.org for assistance using this email address to verify your academic affiliation. + +- Without an academic email, account approval is still possible under specific circumstances. Appeal decisions at help@dandiarchive.org. + +For more information, see the "Create a DANDI Account page" at https://www.dandiarchive.org/handbook/16_account. + {% if rejection_reason %} - Reason: + Detailed reason: {{ rejection_reason }} {% endif %} -If you would like to appeal this decision, please contact the DANDI admins at help@dandiarchive.org. - Sincerely, The DANDI team From 7062a5a6b3101414306b858571d08fdc9253c229 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 5 Sep 2024 09:48:54 -0500 Subject: [PATCH 2/5] Update text --- dandiapi/api/templates/api/mail/rejected_user_message.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandiapi/api/templates/api/mail/rejected_user_message.txt b/dandiapi/api/templates/api/mail/rejected_user_message.txt index 558c3db5b..98990061a 100644 --- a/dandiapi/api/templates/api/mail/rejected_user_message.txt +++ b/dandiapi/api/templates/api/mail/rejected_user_message.txt @@ -5,7 +5,7 @@ Your DANDI account has been denied approval. DANDI is freely accessible to the neuroscience research community. Membership is usually granted automatically to GitHub accounts with a .edu or similar academic email. If your registration is denied: -- With an academic email not linked to your GitHub, please contact help@dandiarchive.org for assistance using this email address to verify your academic affiliation. +- With an academic email not linked to your GitHub, please contact help@dandiarchive.org for assistance using this academic email address to verify your academic affiliation. - Without an academic email, account approval is still possible under specific circumstances. Appeal decisions at help@dandiarchive.org. From 750d786ea29fbd17dbb04fa00f355594ebd30547 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 5 Sep 2024 10:28:52 -0500 Subject: [PATCH 3/5] Move `rejection_reason` block --- .../api/templates/api/mail/rejected_user_message.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dandiapi/api/templates/api/mail/rejected_user_message.txt b/dandiapi/api/templates/api/mail/rejected_user_message.txt index 98990061a..0fe783d56 100644 --- a/dandiapi/api/templates/api/mail/rejected_user_message.txt +++ b/dandiapi/api/templates/api/mail/rejected_user_message.txt @@ -3,6 +3,11 @@ Dear {{ greeting_name }}, Your DANDI account has been denied approval. +{% if rejection_reason %} + Detailed reason: + {{ rejection_reason }} +{% endif %} + DANDI is freely accessible to the neuroscience research community. Membership is usually granted automatically to GitHub accounts with a .edu or similar academic email. If your registration is denied: - With an academic email not linked to your GitHub, please contact help@dandiarchive.org for assistance using this academic email address to verify your academic affiliation. @@ -11,11 +16,6 @@ DANDI is freely accessible to the neuroscience research community. Membership is For more information, see the "Create a DANDI Account page" at https://www.dandiarchive.org/handbook/16_account. -{% if rejection_reason %} - Detailed reason: - {{ rejection_reason }} -{% endif %} - Sincerely, The DANDI team From 1926b95313d0e4a83e2662a43bc189792dd997db Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 5 Sep 2024 10:33:03 -0500 Subject: [PATCH 4/5] Remove extra line --- dandiapi/api/templates/api/mail/rejected_user_message.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/dandiapi/api/templates/api/mail/rejected_user_message.txt b/dandiapi/api/templates/api/mail/rejected_user_message.txt index 0fe783d56..ad480edcb 100644 --- a/dandiapi/api/templates/api/mail/rejected_user_message.txt +++ b/dandiapi/api/templates/api/mail/rejected_user_message.txt @@ -2,7 +2,6 @@ Dear {{ greeting_name }}, Your DANDI account has been denied approval. - {% if rejection_reason %} Detailed reason: {{ rejection_reason }} From 1264ac2cf44e7eb83d2368c21c4ca71747c2d51d Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 5 Sep 2024 12:47:04 -0500 Subject: [PATCH 5/5] Update dandiapi/api/templates/api/mail/rejected_user_message.txt Co-authored-by: Roni Choudhury <2903332+waxlamp@users.noreply.github.com> --- dandiapi/api/templates/api/mail/rejected_user_message.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandiapi/api/templates/api/mail/rejected_user_message.txt b/dandiapi/api/templates/api/mail/rejected_user_message.txt index ad480edcb..49576908c 100644 --- a/dandiapi/api/templates/api/mail/rejected_user_message.txt +++ b/dandiapi/api/templates/api/mail/rejected_user_message.txt @@ -11,7 +11,7 @@ DANDI is freely accessible to the neuroscience research community. Membership is - With an academic email not linked to your GitHub, please contact help@dandiarchive.org for assistance using this academic email address to verify your academic affiliation. -- Without an academic email, account approval is still possible under specific circumstances. Appeal decisions at help@dandiarchive.org. +- Without an academic email, account approval is still possible under specific circumstances. You can appeal the decision by contacting help@dandiarchive.org. For more information, see the "Create a DANDI Account page" at https://www.dandiarchive.org/handbook/16_account.