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