{% extends "base.html" %} {% block title %}{{ _('Project Group') }} #{{ project.id }}: {{ project.name | get_translated_text }} — {{ service_name }}{% endblock %} {% block stylesheets %} {{ super() }} {% endblock %} {% block content %} {% set allowed_language_ids = [] %} {% for language in languages %} {{ allowed_language_ids.append(language.id) or '' }} {% endfor %}
{{ _('This project group is linked to %(object_type)s #%(object_id)d%(object_name)s.', object_type=((object_action.type.object_name | get_translated_text) if object_action else _('Object')), object_id=object_id, object_name=((': ' + (object.data.name.text | get_translated_text)) if object else ''), object_url=url_for(".object", object_id=object_id)) }}
{% endif %} {% if project_group_categories %}{{ _('Categories') }}: {% for category in project_group_categories %} {%- if not loop.first %}, {% endif -%} {%- for category_name in group_category_names[category.id] -%} {%- if not loop.first %} / {% endif -%} {{ category_name | get_translated_text(default=_('Unnamed Category')) }} {%- endfor -%} {% endfor %}
{% endif %}{{ project.description | get_translated_text }}
{% if not config['DISABLE_SUBPROJECTS'] %} {% if parent_project_ids %} {{ _('This project group is a part of') }} {% if parent_project_ids | length > 2 %} {% for project_id in parent_project_ids[:-2] %} {% with project = get_project(project_id) %} {{ project.name | get_translated_text }}, {% endwith %} {% endfor %} {% endif %} {% if parent_project_ids | length > 1 %} {% with project = get_project(parent_project_ids[-2]) %} {{ project.name | get_translated_text }} {{ _('and') }} {% endwith %} {% endif %} {% if parent_project_ids | length > 0 %} {% with project = get_project(parent_project_ids[-1]) %} {{ project.name | get_translated_text }}. {% endwith %} {% endif %} {% endif %} {% if child_project_ids %}