{% extends "base.html" %} {% load i18n auth %} {% block title %}{% trans "Filter Groups" %} · {{ study }} · {{ block.super }}{% endblock %} {% block content %}

{{ study.name }} — {% trans 'Filter Groups' %}

{% trans "required number of subjects" %}: {{ study.min_subjects_count }}

{% trans 'Any of these' %} {% blocktrans with count=potential_subjects_count %}{{ count }} potential subjects in total{% endblocktrans %}
{% has_perm 'recruitment.change_subjectfilter' user view.study as can_change_subjectfilter %} {% for group in object_list %}
{% trans 'All of these' %} {% blocktrans with count=group.get_subject_count %}{{ count }} potential subjects{% endblocktrans %}
{% blocktrans count count=group.subjectfilter_set.count %} {{ count }} filter {% plural %} {{ count }} filters {% endblocktrans%}
    {% for f in group.subjectfilter_set.all %}
  • {{ f }}
  • {% endfor %}
{% if can_change_subjectfilter %} {% if study.published %} {% trans "Duplicate" %} {% trans "View" %} {% trans "Delete" %} {% else %}
{% csrf_token %}
{% trans "Edit" %} {% trans "Delete" %} {% endif %} {% endif %}
{% endfor %} {% if can_change_subjectfilter %}
{% if study.published %} {% else %} {% csrf_token %} {% endif %}
{% endif %}
{% trans "Back" %}
{% endblock %}