templates/user/view_request.html
author nishanth
Wed, 24 Feb 2010 19:17:28 +0530
changeset 83 fd2e1bd7af82
child 86 fcbdf372857c
permissions -rw-r--r--
added accept_assign_credits request
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
83
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     2
{% block content %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     3
    From:&nbsp; <a href=""/user/view/uid={{req.by.id}}"">{{req.by.username}}</a><br />
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     4
    To: 
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     5
    {% for to_user in sent_users %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     6
        <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a>,&nbsp;
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     7
    {% endfor %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     8
    <br />
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     9
    Message: <br />
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    10
    {% ifequal "PY" req.role %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    11
        <a href="/user/view/uid={{req.by.id}}">{{req.by.username}}</a> assigned {{req.pynts}} pynts to 
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    12
        <a href="/user/view/uid={{req.assigned_to.id}}">{{req.assigned_to.username}}</a> for the task
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    13
        <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br />
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    14
        Please click yes/no<br />
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    15
        <form action="yes/" method="post">
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    16
            <input value="Yes" type="submit">
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    17
        </form>
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    18
        <form action="no/" method="post">
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    19
            <input value="No" type="submit">
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    20
        </form>
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    21
    {% else %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    22
    {% endifequal %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    23
    
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    24
{% endblock %}