templates/user/browse_requests.html
author Nishanth Amuluru <nishanth@fossee.in>
Thu, 06 Jan 2011 12:08:36 +0530
changeset 226 b4a3ec34c061
parent 218 59107ce0a618
permissions -rw-r--r--
the upload of attachments works correctly now
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 %}
164
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
     4
        You have no unreplied requests <sup><a href="/about/request/" target="_blank">learn more</a></sup><br />
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     5
    {% else %}
164
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
     6
        You have not yet replied to these requests.<sup><a href="/about/request/" target="_blank">learn more</a></sup><br /><br />
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
     7
        {% for req in reqs %}
164
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
     8
            <a href="/user/requests/rid={{req.id}}">
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
     9
            {% if not req.is_read %}<b>{% endif %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    10
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    11
            {% ifequal req.role "PY" %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    12
                Assign of pynts to {{req.receiving_user}} for the task "{{req.task.title|slice:":20"}}"
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    13
            {% endifequal %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    14
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    15
            {% ifequal req.role "MT" %} 
218
59107ce0a618 Replaced the word mentor with reviewer
Nishanth Amuluru <nishanth@fossee.in>
parents: 164
diff changeset
    16
                Request to reviewer the task "{{req.task.title|slice:":20"}}"
164
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    17
            {% endifequal %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    18
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    19
            {% ifequal req.role "DV" %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    20
                Request to act as a developer in the website
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    21
            {% endifequal %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    22
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    23
            {% ifequal req.role "MG" %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    24
                Request to act as a manager in the website
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    25
            {% endifequal %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    26
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    27
            {% ifequal req.role "AD" %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    28
                Request to act as an admin in the website
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    29
            {% endifequal %}
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    30
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    31
            
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    32
            {% if not req.is_read %}</b>{% endif %}<br />
bfe621e64a16 modified the look of browse_requests page task_view page and view_request page.
nishanth
parents: 122
diff changeset
    33
            </a>
106
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    34
        {% endfor %}
3c3ea2a3f92a now view request shows a better message if role is MT .
nishanth
parents: 102
diff changeset
    35
    {% endif %}
83
fd2e1bd7af82 added accept_assign_credits request
nishanth
parents:
diff changeset
    36
{% endblock %}