{% extends 'esign/base.html' %} {% load static %} {% block content %} {% if messages %}
{% for message in messages %} {% endfor %}
{% endif %}

Admin Dashboard

{% for user in users %} {% with subs=user.subscription_set.all %} {% for sub in subs %} {% endfor %} {% endwith %} {% endfor %}
S. No. Username Status Plan User Since Email Phone Location Action
{{ forloop.counter }} {{ user.get_full_name|default:user.username }} {% if subs %} {% for sub in subs %} {% endfor %} {% else %} No Subscription {% endif %} {{ subs.first.plan|default:"-"|capfirst }} {{ user.date_joined|date:"d/m/Y" }} {{ user.email }} {{ user.profile.phone|default:"-" }} {% if subs %} {{ subs.first.location|default:"-" }} {% else %} - {% endif %}
{% csrf_token %}
Showing {{ users.start_index }} to {{ users.end_index }} of {{ users.paginator.count }} entries
{% endblock %}