SciPost Code Repository

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

Change text in reg request admin

parent 7bafc630
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
<h1 class="highlight">Registration awaiting validation</h1>
<p>
These Contributors did not yet activate their account. Sometimes, this link is never clicked on (email is either lost to spam, or not received).<br>
As per this page, you are able to send a reminder email to the as-yet-unconfirmed contributor.
From here, you are able to send a reminder email to the as-yet-unconfirmed contributor.
</p>
</div>
</div>
......@@ -34,7 +34,7 @@
</tr>
</thead>
<tbody>
{% for contributor in unactive_contributors %}
{% for contributor in inactive_contributors %}
<tr>
<td>{{contributor.user.first_name}} {{contributor.user.last_name}}</td>
<td>{{contributor.user.email}}</td>
......
......@@ -324,11 +324,11 @@ def registration_requests(request):
List all inactive users. These are users that have filled the registration form,
but did not yet activate their account using the validation email.
'''
unactive_contributors = (Contributor.objects.awaiting_validation()
inactive_contributors = (Contributor.objects.awaiting_validation()
.prefetch_related('user')
.order_by('-key_expires'))
context = {
'unactive_contributors': unactive_contributors,
'inactive_contributors': inactive_contributors,
'now': timezone.now()
}
return render(request, 'scipost/registration_requests.html', context)
......
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