templates/task/assigncredits.html
author nishanth
Thu, 25 Feb 2010 17:56:42 +0530
changeset 99 64c34c1f441f
parent 96 2881ed1c52b0
child 114 38793914921b
permissions -rw-r--r--
assign_credits event now creates a proper request object .
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 %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    14
        {% endif %}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    15
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    16
        <form action="" method="post">
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    17
        {{form.as_p}}
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    18
        <input type="submit" value="Submit">
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    19
        </form>
1a1e712e60fd finished assign_credits view. hav to integrate it with requests now.
nishanth
parents:
diff changeset
    20
{% endblock %}