{# usage: {% include "requests_app/_status_badge.html" with status=req.status %} #} {% if status == 'pending' %} На рассмотрении {% elif status == 'approved' %} Одобрено {% elif status == 'rejected' %} Отклонено {% elif status == 'cancelled' %} Отменено {% elif status == 'draft' %} Черновик {% else %} Неизвестно {% endif %}