{% extends "base.html" %} {% load i18n %} {% load smart_pagination %} {% block title %}{% trans "Manage user" %}{% endblock %} {% block content %} {% partialdef user-pending-secrets-container inline %}
{% if paginator.count > 0 %} {% else %} {% endif %}
{% blocktrans count count=paginator.count %} {{ count }} secret needs changing. {% plural %} {{ count }} secrets need changing. {% endblocktrans %}
{% partialdef user-pending-secrets-content inline %} {% for secret in pending_secrets %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Actions" %} {% trans "Status" %}
{{ secret.name }} {% if secret.readable_for_admin %} {% trans "Edit" %} {% trans "Delete" %} {% else %} {% endif %} {% trans "needs changing" %}
{% trans "No secrets found matching your search." %}
{% if is_htmx %} {% blocktrans count count=paginator.count %} {{ count }} secret needs changing. {% plural %} {{ count }} secrets need changing. {% endblocktrans %} {% endif %} {% endpartialdef %}
{% endpartialdef %} {% endblock %}