{% extends "admin/base_site.html" %} {% load i18n admin_urls daisy_theme %} {% block title %}{{ title }} | {% daisy_config "SITE_TITLE" "Django Administration" %}{% endblock %} {% block breadcrumbs %} {% if daisy_theme.SHOW_BREADCRUMBS %} {% endif %} {% endblock %} {% block object-tools %} {% daisy_icon "edit" "w-3.5 h-3.5" %} {% if LANGUAGE_CODE|slice:":2" == "fa" %}ویرایش {{ object|truncatewords:"6" }}{% else %}{% translate 'Change' %} {{ object|truncatewords:"6" }}{% endif %} {% endblock %} {% block content %}
{% if action_list %}
{% for action in action_list %} {% endfor %}
{% daisy_icon "clock" "w-3.5 h-3.5 opacity-60" %} {% translate 'Date/time' %}
{% daisy_icon "user" "w-3.5 h-3.5 opacity-60" %} {% translate 'User' %}
{% daisy_icon "file-text" "w-3.5 h-3.5 opacity-60" %} {% translate 'Action' %}
{{ action.action_time|date:"DATETIME_FORMAT" }}
{{ action.user.get_username|slice:":1"|upper }}
{{ action.user.get_username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %}
{% if action.is_addition %} {% daisy_icon "plus" "w-3 h-3" %} {{ action.get_action_flag_display }} {% elif action.is_change %} {% daisy_icon "edit" "w-3 h-3" %} {{ action.get_action_flag_display }} {% elif action.is_deletion %} {% daisy_icon "trash" "w-3 h-3" %} {{ action.get_action_flag_display }} {% else %} {{ action.get_action_flag_display }} {% endif %} {{ action.get_change_message }}
{{ action_list.paginator.count }} {% if LANGUAGE_CODE|slice:":2" == "fa" %}مورد تغییر ثبت‌شده{% else %}{% blocktranslate count counter=action_list.paginator.count %}entry{% plural %}entries{% endblocktranslate %}{% endif %}
{% if pagination_required %}
{% for i in page_range %} {% if i == action_list.paginator.ELLIPSIS %} {% elif i == action_list.number %} {% else %} {{ i }} {% endif %} {% endfor %}
{% endif %}
{% else %}
{% daisy_icon "history" "w-8 h-8" %}

{% if LANGUAGE_CODE|slice:":2" == "fa" %}هیچ سابقه‌ای برای این شیء ثبت نشده است{% else %}{% translate 'No history records found' %}{% endif %}

{% translate 'This object doesn’t have a change history. It probably wasn’t added via this admin site.' %}

{% endif %}
{% endblock %}