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
f15fe94d
Commit
f15fe94d
authored
8 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Small improvements to admin for reg and ref invitations
parent
228cef3e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
scipost/admin.py
+1
-1
1 addition, 1 deletion
scipost/admin.py
scipost/utils.py
+0
-6
0 additions, 6 deletions
scipost/utils.py
scipost/views.py
+0
-1
0 additions, 1 deletion
scipost/views.py
submissions/admin.py
+4
-1
4 additions, 1 deletion
submissions/admin.py
with
5 additions
and
9 deletions
scipost/admin.py
+
1
−
1
View file @
f15fe94d
...
...
@@ -30,7 +30,7 @@ admin.site.register(Remark, RemarkAdmin)
class
RegistrationInvitationAdmin
(
admin
.
ModelAdmin
):
search_fields
=
[
'
last_name
'
,
'
email
'
]
search_fields
=
[
'
first_name
'
,
'
last_name
'
,
'
email
'
,
'
invitation_key
'
]
admin
.
site
.
register
(
RegistrationInvitation
,
RegistrationInvitationAdmin
)
...
...
This diff is collapsed.
Click to expand it.
scipost/utils.py
+
0
−
6
View file @
f15fe94d
...
...
@@ -283,12 +283,6 @@ class Utils(object):
'
of established, professionally practising scientists), designed to
'
'
ensure the highest achievable scientific quality while minimizing the
'
'
burden of the editorial workflow.
\n\n
'
# 'The SciPost.org portal has been intensively developed over the last '
# 'few months. It is legally based on a not-for-profit foundation and will '
# 'operate in perpetuity as a non-commercial entity at the exclusive service '
# 'of the academic sector. We are now entering the next phase in the '
# 'implementation, which is to build up the community of professional '
# 'academics who will help operate it.\n\n'
'
SciPost.org is legally based on a not-for-profit foundation and will
'
'
operate in perpetuity as a non-commercial entity at the exclusive service
'
'
of the academic sector.
'
...
...
This diff is collapsed.
Click to expand it.
scipost/views.py
+
0
−
1
View file @
f15fe94d
...
...
@@ -278,7 +278,6 @@ def invitation(request, key):
invitation
.
save
()
Utils
.
create_and_save_contributor
(
key
)
Utils
.
send_registration_email
()
#return HttpResponseRedirect(reverse('scipost:thanks_for_registering'))
context
=
{
'
ack_header
'
:
'
Thanks for registering to SciPost.
'
,
'
ack_message
'
:
(
'
You will receive an email with a link to verify
'
'
your email address. Please visit this link within 48 hours.
'
...
...
This diff is collapsed.
Click to expand it.
submissions/admin.py
+
4
−
1
View file @
f15fe94d
...
...
@@ -18,7 +18,10 @@ admin.site.register(EditorialAssignment, EditorialAssignmentAdmin)
class
RefereeInvitationAdmin
(
admin
.
ModelAdmin
):
search_fields
=
[
'
submission__title
'
]
search_fields
=
[
'
submission__title
'
,
'
submission__author_list
'
,
'
referee__user__last_name
'
,
'
first_name
'
,
'
last_name
'
,
'
email_address
'
,
]
admin
.
site
.
register
(
RefereeInvitation
,
RefereeInvitationAdmin
)
...
...
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