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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
93
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     2
{% block title %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     3
    {{task.title}}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     4
{% endblock %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     5
{% block content %}
96
2881ed1c52b0 added events addCredits and assignCredits and modified assign_credits view accordingly.
nishanth
parents: 93
diff changeset
     6
        <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.
93
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     7
        {% if prev_credits %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     8
            <hr />
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
     9
            <br/>Previous credits:<br />
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    10
            {% for credit in prev_credits %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    11
                {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    12
                <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    13
            {% endfor %}
114
38793914921b mark task as complete functionality is added.
nishanth
parents: 96
diff changeset
    14
            <a href="/task/complete/tid={{task.id}}">Mark task as complete.</a>
93
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    15
        {% endif %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    16
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    17
        <form action="" method="post">
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    18
        {{form.as_p}}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    19
        <input type="submit" value="Submit">
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    20
        </form>
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    21
{% endblock %}