templates/user/browse_requests.html
author nishanth
Fri, 26 Feb 2010 00:29:04 +0530
changeset 106 3c3ea2a3f92a
parent 102 67de265ca06a
child 122 daee11bdfbaa
permissions -rw-r--r--
now view request shows a better message if role is MT .
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 %}
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     3
    {% if not reqs %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     4
        You have no unreplied requests.
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     5
    {% else %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     6
        {% for req in reqs %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     7
            <form><a href="/user/requests/rid={{req.pos}}">
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     8
            {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     9
            {% ifequal req.role "PY" %}            
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    10
                {{req.task.title}}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    11
            {% endifequal %}</a>
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    12
            {% if not req.is_read %}</b>{% endif %}<br /></form>
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    13
        {% endfor %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    14
    {% endif %}
83
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    15
{% endblock %}