templates/task/assigncredits.html
changeset 136 8632a44b743d
parent 135 0ede6b2c5cd1
--- a/templates/task/assigncredits.html	Sun Feb 28 02:45:21 2010 +0530
+++ b/templates/task/assigncredits.html	Sun Feb 28 03:01:53 2010 +0530
@@ -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 %}