<aclass="btn btn-outline {% if user_object.is_superuser and not request.user.is_superuser %} disabled {% else %} btn-default {% endif %}"href="{% url 'users:user-update' pk=user_object.id %}"><iclass="fa fa-edit"></i>{% trans 'Update' %}</a>
<aclass="btn btn-outline {% if user_object.is_superuser and not request.user.is_superuser or user_object.is_auditor and not request.user.is_superuser%} disabled {% else %} btn-default {% endif %}"href="{% url 'users:user-update' pk=user_object.id %}"><iclass="fa fa-edit"></i>{% trans 'Update' %}</a>
</li>
<liclass="pull-right">
<aclass="btn btn-outline {% if request.user == user_object or user_object.username == "admin"oruser_object.is_superuserandnotrequest.user.is_superuser%}disabled{%else%}btn-dangerbtn-delete-user{%endif%}">
<aclass="btn btn-outline {% if request.user == user_object or user_object.username == "admin"oruser_object.is_superuserandnotrequest.user.is_superuseroruser_object.is_auditorandnotrequest.user.is_superuser%}disabled{%else%}btn-dangerbtn-delete-user{%endif%}">