{% extends "base.html" %} {% load i18n %} {% load render_table from django_tables2 %} {% block title %} {% trans "Staffs" %} {% endblock title %} {% block content %}
{% if users or request.GET.q %}

{% trans "Staffs" %}

{% if request.user.userplan %} {% endif %}
{% for user in users %} {% endfor %}
{% trans 'Name'|capfirst %} {% trans 'Email'|capfirst %} {% trans 'Phone number'|capfirst %} {% trans 'Role'|capfirst %} {% trans 'Actions'|capfirst %}
{% if user.logo %} {{ user.fullname }}'s logo {% else %}
{{ user.fullname|first|upper }}
{% endif %}
{{ user.fullname }}
{{ user.email }} {{ user.phone_number }} {% for group in user.groups %} {{ group.name|title }} {% endfor %} {% trans 'View' %}
{% if is_paginated %}
{% include 'partials/pagination.html' %}
{% endif %} {% else %} {% if request.user.userplan %} {% url "user_create" request.dealer.slug as create_staff_url %} {% include "empty-illustration-page.html" with value=no_staff_message url=create_staff_url %} {% else %} {% url "pricing_page" request.dealer.slug as pricing_page_url %} {% include "message-illustration.html" with value1=_("No active plan, Please create a subscription plan.") value2=_("Buy Plan") url=pricing_page_url %} {% endif %} {% endif %}
{% endblock %}