templates/user/browse_requests.html
author nishanth
Thu, 25 Feb 2010 19:46:19 +0530
changeset 102 67de265ca06a
parent 86 fcbdf372857c
child 106 3c3ea2a3f92a
permissions -rw-r--r--
now unread requests appear in bold.
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
    {% for req in reqs %}
102
67de265ca06a now unread requests appear in bold.
nishanth
parents: 86
diff changeset
     4
        <form><a href="/user/requests/rid={{req.pos}}">
67de265ca06a now unread requests appear in bold.
nishanth
parents: 86
diff changeset
     5
        {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
83
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     6
        {% ifequal req.role "PY" %}            
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
     7
            {{req.task.title}}
102
67de265ca06a now unread requests appear in bold.
nishanth
parents: 86
diff changeset
     8
        {% endifequal %}</a>
67de265ca06a now unread requests appear in bold.
nishanth
parents: 86
diff changeset
     9
        {% if not req.is_read %}</b>{% endif %}<br /></form>
83
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    10
    {% endfor %}
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    11
{% endblock %}