templates/user/browse_requests.html
author nishanth
Mon, 01 Mar 2010 04:54:08 +0530
changeset 157 65d5e9737d1c
parent 122 daee11bdfbaa
child 164 bfe621e64a16
permissions -rw-r--r--
fixed assign_task method to display a not_allowed message if task status not in OP WR.

{% extends 'base.html' %}
{% block content %}
    {% if not reqs %}
        You have no unreplied requests.
    {% else %}
        {% for req in reqs %}
            <form><a href="/user/requests/rid={{req.id}}">
            {% if not req.is_read %}<b>{% endif %}{{req.sent_by.username}}|{{req.role}}|
            {% ifequal req.role "PY" %}            
                {{req.task.title}}
            {% endifequal %}</a>
            {% if not req.is_read %}</b>{% endif %}<br /></form>
        {% endfor %}
    {% endif %}
{% endblock %}