{% extends 'layouts/base.html' %} {% load static %} {% block content %}
فعالیت ها

{{ actions_count }}

{{ actions_last_month }}
فعالیت در ماه قبل
{{ actions_data|json_script:"actions_json" }} {{ actions_data_week|json_script:"actions_week_json" }}

کاربران

{{ users_count }}
{{ users_last_month }}
در یک ماه اخیر

پست

{{ posts_count }}
{{ posts_last_month }}
در یک ماه اخیر

ارتباطات

{{ contacts_count }}
{{ contacts_last_month }}
در یک ماه اخیر

بازدید صفحات

{% for path in path_views %} {% endfor %}
آدرس صفحه تعداد بازدید
{{ path.0 }} {{ path.1 }}

افراد تیم

برترین کاربران

{% for username, values in top_users.items %} {% endfor %}
کاربر تعداد فالوور تعداد پست مجموع لایک
{{ username }} {{ values.0 }} {{ values.1 }} {% if values.2 %} {{ values.2 }} {% else %} 0 {% endif %}

لاگ ادمین

{% for entry in logentry %} {% endfor %}
اتفاق کاربر
{% if entry.is_addition %} {{ entry.content_type.name }} {{ entry.object_repr }} افزوده شد. {% elif entry.is_change %} در {{ entry.content_type.name }} {{ entry.object_repr }} {{ entry.get_change_message }} {% elif entry.is_deletion %} {{ entry.content_type.name }} {{ entry.object_repr }} حذف شد. {% endif %} {{ entry.user.username }}
کاربران
{{ users_data|json_script:"users_json" }}
پست ها
{{ posts_data|json_script:"posts_json" }}
ارتباطات
{{ contacts_data|json_script:"contacts_json" }}
{% endblock content %} {% block extra_js %} {% endblock extra_js %}