templates/task/assigncredits.html
author nishanth
Fri, 26 Feb 2010 13:22:13 +0530
changeset 114 38793914921b
parent 96 2881ed1c52b0
child 135 0ede6b2c5cd1
permissions -rw-r--r--
mark task as complete functionality is added.

{% extends 'base.html' %}
{% block title %}
    {{task.title}}
{% endblock %}
{% block content %}
        <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.
        {% if prev_credits %}
            <hr />
            <br/>Previous credits:<br />
            {% for credit in prev_credits %}
                {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
                <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
            {% endfor %}
            <a href="/task/complete/tid={{task.id}}">Mark task as complete.</a>
        {% endif %}

        <form action="" method="post">
        {{form.as_p}}
        <input type="submit" value="Submit">
        </form>
{% endblock %}