From c606e8a23974dbeb14d278d3a287dfa6cf02bbe8 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Thu, 4 Jan 2018 16:45:49 +0100
Subject: [PATCH] Change text in reg request admin

---
 scipost/templates/scipost/registration_requests.html | 4 ++--
 scipost/views.py                                     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scipost/templates/scipost/registration_requests.html b/scipost/templates/scipost/registration_requests.html
index 3402c5b1e..47250eb48 100644
--- a/scipost/templates/scipost/registration_requests.html
+++ b/scipost/templates/scipost/registration_requests.html
@@ -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>
diff --git a/scipost/views.py b/scipost/views.py
index cd7c7dac5..ec399dd68 100644
--- a/scipost/views.py
+++ b/scipost/views.py
@@ -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)
-- 
GitLab