Skip to content

Commit af2c470

Browse files
show due dates for project submission and evaluation (closes #75)
1 parent 5f1a99e commit af2c470

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

courses/templates/projects/eval_submit.html

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ <h2>Evaluate Projects for "{{ project.title }}"</h2>
2828
{% endfor %}
2929
{% endif %}
3030

31+
<div>
32+
<p>Due date: <span class="local-date">{{ project.peer_review_due_date |date:"c" }}</span> (local time)</p>
33+
</div>
3134

3235
<div class="mb-2">
3336
<strong>GitHub Link:</strong> <a href="{{ submission.github_link }}" target="_blank" class="text-primary">{{ submission.github_link }}</a>

courses/templates/projects/project.html

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ <h2 class="mb-3 text-center">{{ project.title }} for <a href="{% url 'course' co
5757

5858
<h3 class="mb-3">Project submission</h3>
5959

60+
<div>
61+
<p>Due date: <span class="local-date">{{ project.submission_due_date |date:"c" }}</span> (local time)</p>
62+
</div>
63+
6064
<form method="post" id="project-form" class="needs-validation" novalidate>
6165
{% if is_authenticated %}
6266
{% csrf_token %}

0 commit comments

Comments
 (0)