{% if request.user.userRole == 'admin' %}
{% endif %}
| Sr.No | User Name | Role | Branch | {% if request.user.userRole == 'admin' %}Action | {% endif %}|
|---|---|---|---|---|---|
| {{forloop.counter}} | {{item.username}} | {{item.email}} | {{item.userRole}} | {% if item.branch %} {{item.branch.branchName}} {% else %} Nill {% endif %} | {% if request.user.userRole == 'admin' %}{% if item.activateStatus == True %} {% if item.userRole != 'Patient' %} {% endif %} {% if item.userRole != 'admin' %} {% endif %} {% endif %} {% if item.activateStatus == True %} {% else %} {% endif %} | {% endif %}
Showing {{ userData.start_index }} to {{ userData.end_index }} of {{ userData.paginator.count }} entries