templates/task/assigncredits.html
changeset 114 38793914921b
parent 96 2881ed1c52b0
child 135 0ede6b2c5cd1
equal deleted inserted replaced
113:ea962d5fe99e 114:38793914921b
     9             <br/>Previous credits:<br />
     9             <br/>Previous credits:<br />
    10             {% for credit in prev_credits %}
    10             {% for credit in prev_credits %}
    11                 {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
    11                 {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
    12                 <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
    12                 <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
    13             {% endfor %}
    13             {% endfor %}
       
    14             <a href="/task/complete/tid={{task.id}}">Mark task as complete.</a>
    14         {% endif %}
    15         {% endif %}
    15 
    16 
    16         <form action="" method="post">
    17         <form action="" method="post">
    17         {{form.as_p}}
    18         {{form.as_p}}
    18         <input type="submit" value="Submit">
    19         <input type="submit" value="Submit">