{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}

Restrictions for tophog entry

token: {{ token }} {% for k, v in key.items %} {{ k }}: {{ v }} {% endfor %} {% if tophog_pipelines %} pipelines: {{ tophog_pipelines|join:", " }} {% endif %}
{% if restriction_pipelines %}

Mapped to restriction pipelines: {{ restriction_pipelines|join:", " }}{% if unmapped_pipelines %} (no restriction pipeline mapping for: {{ unmapped_pipelines|join:", " }}){% endif %}

{% elif unmapped_pipelines %}

No restriction pipeline mapping for: {{ unmapped_pipelines|join:", " }}

{% endif %} {% if not token %}

No token given — cannot search restrictions.

{% elif entries %}
{% for entry in entries %} {% endfor %}
Existing restrictions for this token
Type Pipelines Distinct IDs Session IDs Event names Event UUIDs Note Covers this entry
{{ entry.restriction.get_restriction_type_display }} {{ entry.restriction.pipelines|join:", " }} {{ entry.restriction.distinct_ids|join:", "|truncatechars:80|default:"all" }} {{ entry.restriction.session_ids|join:", "|truncatechars:80|default:"all" }} {{ entry.restriction.event_names|join:", "|truncatechars:80|default:"all" }} {{ entry.restriction.event_uuids|join:", "|truncatechars:80|default:"all" }} {{ entry.restriction.note|default:""|truncatechars:80 }} {% if entry.matches %} covers {% else %} does not cover {% endif %} {% if entry.extendable_fields %}
{% csrf_token %}
{% endif %} Edit
{% else %}

No existing restrictions for this token.

{% endif %} {% if create_url %}
Create new restriction
{% endif %}
{% endblock %}