{% extends 'core/base/base.html' %} {% comment %} SPDX-FileCopyrightText: 2022 Helmholtz-Zentrum Dresden-Rossendorf (HZDR) SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% load static %} {% block content %}
Projects {% if project.label %}{{ project.label }}{% else %}New Project{% endif %} Subprojects

Subprojects

{% if subprojects %}
{% csrf_token %} {% for subproject in subprojects %} {% endfor %}
ID Label Owner
{{ subproject.pk }} {% if subproject.label %} {{ subproject.label }} {% else %} New Project {% endif %} {{ subproject.owner.display_name }} {% if heliport_user in subproject.members %} Open {% else %} {% endif %}
{% else %} This Project has no subprojects {% endif %}

Add a subproject to this project

{% csrf_token %} {% for user_project in user_projects %} {% endfor %}
{% if user_project.label %}{{ user_project.label }}{% else %}New Project{% endif %} {% if user_project in subprojects %} {% else %} {% endif %} Import Contents
{% endblock %}