{% load i18n %} {% if group.project_selection == 1 %} {% trans "All projects" %} {% elif group.project_selection == 3 %} {% trans "All public projects" %} {% elif group.project_selection == 4 %} {% trans "All protected projects" %} {% else %} {% for project in group.projects.all %} {{ project }} {% endfor %} {% endif %}