Added project owner

This commit is contained in:
Tris
2020-10-03 19:39:45 +10:00
parent 404590766a
commit ad0db64f3c
3 changed files with 22 additions and 0 deletions
@@ -3,6 +3,9 @@
{% block page %}
<div class="narrow">
<h3 class="text-center">Due in {{ project.deadline|timeuntil }}!</h3>
{% if project.owner %}
<p>Project email: <a href="mailto:{{ project.owner }}">{{ project.owner }}</a></p>
{% endif %}
{% with sub_count=project.submissions.count %}
<p>There have been {{ sub_count }} submission{{ sub_count|pluralize }} so far...</p>
{% if sub_count %}