Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-li committed Sep 1, 2024
2 parents d875f29 + a987d81 commit a6dc107
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_is_renewal_survey_completed_returns_false(self):
# With the dummy backend, is_renewal_survey_completed returns whether
# the PI username is less than 5 characters. This username is thus
# greater than 5 characters.

user = User.objects.create(
email='[email protected]',
first_name='Test',
Expand Down Expand Up @@ -74,6 +75,7 @@ def test_is_renewal_survey_completed_returns_true(self):
# With the dummy backend, is_renewal_survey_completed returns whether
# the PI username is less than 5 characters. This username is thus
# less than 5 characters.

user = User.objects.create(
email='[email protected]',
first_name='Test',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ def get_renewal_survey_url(self, allocation_period_name, pi, project_name,
if gform_info is None:
return None

wks = self._get_gspread_wks(gform_info['sheet_id'])
if wks is None:
return None

BASE_URL_ONE = 'https://docs.google.com/forms/d/e/'
BASE_URL_TWO = '/viewform?usp=pp_url'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Dear {{ user_first_name }} {{ user_last_name }},

{{ requester_first_name }} {{ requester_last_name }} of Project {{ project_name }} has requested to remove {{ remove_user_first_name }} {{ remove_user_last_name }} from {{ project_name }}. The request will be reviewed by administrators. You will receive a confirmation message after admins have removed {{ remove_user_first_name }} {{ remove_user_last_name }} from the project.
{{ requester_first_name }} {{ requester_last_name }} of Project {{ project_name }} has requested to remove {{ remove_user_first_name }} {{ remove_user_last_name }} from {{ project_name }}.

The request will be reviewed by administrators. You will receive a confirmation message after admins have removed {{ remove_user_first_name }} {{ remove_user_last_name }} from the project.

If applicable, please coordinate file sharing and/or backups with your group.

If you have any questions, please contact us at {{ support_email }}.

Expand Down

0 comments on commit a6dc107

Please sign in to comment.