{% extends "admin/base_site.html" %} {% load i18n static %} {% block title %}{{ cache_name }} - {% trans 'Keys' %} | django-cachex{% endblock %} {% block breadcrumbs %}
{% endblock %} {% block content %}
{% if error %}

Error: {{ error }}

{% endif %} {% if error_message %}

{{ error_message }}

{% endif %}
{% csrf_token %} {% if keys_data %}
{% if show_type %} {% endif %} {% if show_ttl %} {% endif %} {% if show_size %} {% endif %} {% for key_info in keys_data %} {% if show_type %} {% endif %} {% if show_ttl %} {% endif %} {% if show_size %} {% endif %} {% endfor %}
{{ key_info.key }} {% if key_info.type %} {{ key_info.type }} {% else %} - {% endif %} {% if key_info.ttl_expires_at %} {{ key_info.ttl_expires_at|timeuntil }} {% else %} - {% endif %} {% if key_info.size is not None %} {{ key_info.size }} {% else %} - {% endif %}
{% else %}

{% trans 'No keys found.' %}

{% endif %}
{% if cache_names|length > 1 %}

{% trans 'By cache' %}

    {% for cn in cache_names %}
  • {{ cn }}
  • {% endfor %}
{% endif %} {% if key_types %}

{% trans 'By type' %}

{% endif %}
{% if keys_data %} {% endif %} {% endblock %} {% block footer %}
{% if total_keys is not None %} {{ total_keys }} {% blocktrans count counter=total_keys %}key{% plural %}keys{% endblocktrans %} {% else %} {{ keys_count }} {% trans 'keys shown' %} {% endif %}
{% endblock %}