{% load i18n %} {# Replaces the anomaly row after a superuser confirms (promotes) it. #} {{ rule.pattern|truncatechars:40 }} {% if rule.action == "block" %} {% trans "Block" %} {% elif rule.action == "challenge" %} {% trans "Challenge" %} {% elif rule.action == "throttle" %} {% trans "Throttle" %} {% else %} {{ rule.get_action_display }} {% endif %} {{ rule.created_at|date:"d M Y H:i" }} — ✓ {% trans "Confirmed" %}