summaryrefslogtreecommitdiff
path: root/templates/task/assigncredits.html
diff options
context:
space:
mode:
authornishanth2010-02-28 03:01:53 +0530
committernishanth2010-02-28 03:01:53 +0530
commiteb93427d1f7b439258e6d2bd1c89afbd52d34ea2 (patch)
tree27ccb4292439fc3a24e896efe505cd798e376982 /templates/task/assigncredits.html
parentaf7842ffd0effddd2d2438f4ac30eeb5d682bf38 (diff)
downloadpytask-eb93427d1f7b439258e6d2bd1c89afbd52d34ea2.tar.gz
pytask-eb93427d1f7b439258e6d2bd1c89afbd52d34ea2.tar.bz2
pytask-eb93427d1f7b439258e6d2bd1c89afbd52d34ea2.zip
deducing previous credits for a task using the request model. with a few changes, we can ditchax the credits model.
Diffstat (limited to 'templates/task/assigncredits.html')
-rw-r--r--templates/task/assigncredits.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/task/assigncredits.html b/templates/task/assigncredits.html
index 066505d..eff23bf 100644
--- a/templates/task/assigncredits.html
+++ b/templates/task/assigncredits.html
@@ -12,6 +12,8 @@
{% if prev_credits %}
<a href="/task/complete/tid={{task.id}}">Mark task as complete.</a>
<hr />
+ {% endif %}
+ {% if credit_requests %}
<br/>Previous credits:<br />
{% for req in credit_requests %}
<hr />
@@ -34,5 +36,7 @@
status: Request pending
{% endif %}
{% endfor %}
+ {% else %}
+ No assigning of pynts has been made for this task.
{% endif %}
{% endblock %}