{% load i18n localcosmos_tags %}
{% for point_rule in point_rules %}
{{ point_rule.name }} {{ point_rule.points }} {% trans 'points' %}

{% trans 'Conditions' %}
{% if point_rule.conditions.exists %} {{ point_rule.match_mode_display }} {% endif %}
{% for condition in point_rule.conditions.all %}
{{ condition.content_type }} - {{ condition.object_id }}
{{ condition.value_json }}
{% empty %}
{% trans 'You have no conditions configured yet' %}
{% endfor %}

{% empty %}
{% trans 'You have no point rules configured yet' %}
{% endfor %}