SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit f15fe94d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Small improvements to admin for reg and ref invitations

parent 228cef3e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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. '
......
......@@ -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. '
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment