{% extends 'base.html' %}
{% block content %}
    {% if not reqs %}
        You have no unreplied requests learn more
    {% else %}
        You have not yet replied to these requests.learn more
        {% for req in reqs %}
            
            {% if not req.is_read %}{% endif %}
            
            {% ifequal req.role "PY" %}
                Assign of pynts to {{req.receiving_user}} for the task "{{req.task.title|slice:":20"}}"
            {% endifequal %}
            
            {% ifequal req.role "MT" %} 
                Request to mentor the task "{{req.task.title|slice:":20"}}"
            {% endifequal %}
            
            {% ifequal req.role "DV" %}
                Request to act as a developer in the website
            {% endifequal %}
            
            {% ifequal req.role "MG" %}
                Request to act as a manager in the website
            {% endifequal %}
            
            {% ifequal req.role "AD" %}
                Request to act as an admin in the website
            {% endifequal %}
            
            
            {% if not req.is_read %}{% endif %}
            
        {% endfor %}
    {% endif %}
{% endblock %}