SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
94479d85
Commit
94479d85
authored
1 year ago
by
George Katsikas
Browse files
Options
Downloads
Patches
Plain Diff
add nomination note: fellowship after registration
parent
7a086a8f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scipost_django/colleges/models/nomination.py
+14
-6
14 additions, 6 deletions
scipost_django/colleges/models/nomination.py
with
14 additions
and
6 deletions
scipost_django/colleges/models/nomination.py
+
14
−
6
View file @
94479d85
...
@@ -159,13 +159,21 @@ class FellowshipNomination(models.Model):
...
@@ -159,13 +159,21 @@ class FellowshipNomination(models.Model):
except
FellowshipInvitation
.
DoesNotExist
:
except
FellowshipInvitation
.
DoesNotExist
:
return
notes
return
notes
if
self
.
invitation
.
accepted
and
not
hasattr
(
self
.
profile
,
"
contributor
"
):
if
self
.
invitation
.
accepted
:
notes
.
append
(
if
not
hasattr
(
self
.
profile
,
"
contributor
"
):
(
notes
.
append
(
"
info
"
,
(
"
Fellow has accepted their invitation, but has not registered yet.
"
,
"
info
"
,
"
Fellow has accepted their invitation, but has not registered yet.
"
,
)
)
elif
getattr
(
self
,
"
fellowship
"
)
is
None
:
notes
.
append
(
(
"
warning
"
,
"
Fellow has created an account, but their Fellowship has not been created yet.
"
,
)
)
)
)
last_reinvited
=
self
.
events
.
filter
(
last_reinvited
=
self
.
events
.
filter
(
Q
(
description__icontains
=
"
invitation reminder
"
)
Q
(
description__icontains
=
"
invitation reminder
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment