{% extends "manage/security-base.html" %} {% load i18n static %} {% block extra_script %} {% endblock extra_script %} {% block content %}

{% if source_report %}{{ report_title }}{% else %}{% translate "Account security findings" %}{% endif %}

{% if not source_report %}

{% translate "Validation reports" %}

{% endif %} {% if source_report %}
{% translate "Filename" %}
{% if source_report.filename %}{{ source_report.filename }}{% else %}{% translate "Not recorded" %}{% endif %}
{% translate "Submitted by" %}
{% if source_report.actor %}{{ source_report.actor.username }}{% else %}{% translate "Deleted administrator" %}{% endif %}
{% endif %} {% if report %}

{% translate "Processing summary" %}

{% if report.state == "completed" %}

{% if report.operation == "validate" %} {% translate "Password validation completed." %} {% elif report.operation == "legacy-email-check" %} {% translate "Legacy e-mail identity check completed." %} {% else %} {% translate "Security action completed." %} {% endif %}

{% elif report.state == "failed" %}

{% translate "Processing failed." %} {{ report_error }}

{% else %}

{% translate "Processing is not complete. Findings may still be added." %} {% translate "View progress" %}

{% endif %}

{% blocktranslate with processed=report.processed total=report.total %}Processed {{ processed }} of {{ total }} entries.{% endblocktranslate %}

{% if summary %}
{% for label, value in summary %}
{{ label }}
{{ value }}
{% endfor %}
{% endif %} {% endif %}
{% if scan %}{% endif %}
{% csrf_token %}
{% if has_open_findings %}

{% translate "Actions apply only to checked findings on this page." %}

{% endif %}
{% for finding in page %} {% empty %} {% endfor %}
{% translate "Select" %} {% translate "Account" %} {% translate "Finding" %} {% translate "Details" %} {% translate "Status" %} {% translate "Detected" %}
{% if finding.status == "open" %}{% endif %} {{ finding.user.username }}
{{ finding.user.email|default_if_none:'' }}{% if not finding.user.is_active %}
{% translate "Inactive" %}{% endif %}{% if finding.user.is_bot %}
{% translate "Bot" %}{% endif %}{% if not finding.user.email %}
{% translate "No e-mail address: notification unavailable" %}{% endif %}
{% translate "Date joined:" %} {{ finding.user.date_joined|date:"DATETIME_FORMAT" }}
{% translate "Last sign-in:" %} {% if finding.user.last_login %}{{ finding.user.last_login|date:"DATETIME_FORMAT" }}{% else %}{% translate "Not yet signed in" %}{% endif %}
{{ finding.type_label }} {% for match in finding.display_matches %}{% if finding.finding_type == "legacy-email-alias" %}{{ match.identifier }} ({{ match.method }}){% else %}{% blocktranslate with row=match.row identifier=match.identifier method=match.method %}Row {{ row }}: {{ identifier }} ({{ method }}){% endblocktranslate %}{% endif %}
{% endfor %}{% blocktranslate count count=finding.match_count %}View details ({{ count }} match){% plural %}View details ({{ count }} matches){% endblocktranslate %}
{{ finding.get_status_display }} {% translate "First detected:" %} {{ finding.first_seen }}
{% translate "Last detected:" %} {{ finding.last_seen }}
{% translate "History" %}
    {% for event in finding.events.all %}
  • {% if event.action == "detected" %}{{ event.timestamp }}{% else %}{{ event.timestamp }}{% endif %}: {{ event.get_action_display }}{% if event.actor %} — {{ event.actor.username }}{% endif %}{% if event.reason %} ({{ event.get_reason_display }}){% endif %}
  • {% endfor %}
{% translate "No security findings match these filters." %}

{% blocktranslate with number=page.number total=page.paginator.num_pages %}Page {{ number }} of {{ total }}{% endblocktranslate %}

{% if page.has_previous %} {% translate "Previous" %} {% endif %} {% if page.has_next %} {% translate "Next" %} {% endif %} {% if has_open_findings %} {% if has_cleanup_findings %} {% endif %} {% if has_reset_findings %} {% endif %}

{% translate "Dismissing findings marks them as reviewed without changing passwords or notifying users." %}

{% endif %}
{% endblock content %}