SciPost Code Repository

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

Refine and debug email

parent 6c7a1820
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ class Command(BaseCommand):
help = 'Sends an email to Fellows with current and upcoming tasks list'
def handle(self, *args, **kwargs):
fellows = Contributor.objects.fellows(
).filter(user__last_name__startswith='B' # temporary limitation, to ease testing
).filter(user__last_name__istartswith='C' # temporary limitation, to ease testing
).order_by('user__last_name')
for fellow in fellows:
......
......@@ -251,7 +251,7 @@ class EditorialAssignmentQuerySet(models.QuerySet):
return self.filter(completed=True)
def ongoing(self):
return self.filter(completed=False).accepted()
return self.filter(completed=False, deprecated=False).accepted()
def open(self):
return self.filter(accepted=None, deprecated=False)
......
......@@ -7,7 +7,7 @@
<ul>
{% for assignment in assignments_to_consider %}
<li>On submission: {{ assignment.submission }}<br>
<a href="{% url 'submissions:assignment_request' assignment.id %}">Accept or decline here</a>
<a href="https://scipost.org{% url 'submissions:assignment_request' assignment.id %}">Accept or decline here</a>
</li>
{% endfor %}
</ul>
......@@ -19,10 +19,10 @@
<li>
<div class="pool-item">
<p class="mb-1">
<a href="{% url 'submissions:pool' assignment.submission.arxiv_identifier_w_vn_nr %}">{{ assignment.submission.title }}</a><br>
<a href="https://scipost.org{% url 'submissions:pool' assignment.submission.arxiv_identifier_w_vn_nr %}">{{ assignment.submission.title }}</a><br>
<em>by {{ assignment.submission.author_list }}</em>
</p>
<p><a href="{% url 'submissions:editorial_page' assignment.submission.arxiv_identifier_w_vn_nr %}">Go to this Submission's Editorial page</a></p>
<p><a href="https://scipost.org{% url 'submissions:editorial_page' assignment.submission.arxiv_identifier_w_vn_nr %}">Go to this Submission's Editorial page</a></p>
{% include 'submissions/_required_actions_block.html' with submission=assignment.submission %}
</div>
</li>
......@@ -36,11 +36,11 @@
<li>
<div class="pool-item">
<p class="mb-1">
<a href="{% url 'submissions:pool' assignment.submission.arxiv_identifier_w_vn_nr %}">{{ assignment.submission.title }}</a><br>
<a href="https://scipost.org{% url 'submissions:pool' assignment.submission.arxiv_identifier_w_vn_nr %}">{{ assignment.submission.title }}</a><br>
<em>by {{ assignment.submission.author_list }}</em>
</p>
<p>Refereeing deadline: {{ assignment.submission.reporting_deadline|date:"Y-m-d" }}.</p>
<p><a href="{% url 'submissions:editorial_page' assignment.submission.arxiv_identifier_w_vn_nr %}">Go to this Submission's Editorial page</a></p>
<p><a href="https://scipost.org{% url 'submissions:editorial_page' assignment.submission.arxiv_identifier_w_vn_nr %}">Go to this Submission's Editorial page</a></p>
</div>
</li>
{% endfor %}
......
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