{% extends "core/base/base.html" %} {% comment %} SPDX-FileCopyrightText: 2022 Helmholtz-Zentrum Dresden-Rossendorf (HZDR) SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% load heliport %} {% block content %}
{% if filter_tag %}
Filter: {{ filter_tag.label }}
{% endif %}

Project List

{% csrf_token %} {% if project_list %} {% for project in project_list %} {% with project.sub_project_list as sub_list %} {% for sub in sub_list %} {% endfor %} {% endwith %} {% endfor %}
{% if sort == "label" %} Project Name {% elif sort == "-label" %} Project Name {% else %} Project Name {% endif %} {% if sort == "modified" %} Last Modified {% elif sort == "-modified" %} Last Modified {% else %} Last Modified {% endif %} {% if sort == "owner__display_name" %} Owner {% elif sort == "-owner__display_name" %} Owner {% else %} Owner {% endif %}
{% if sub_list %} {% endif %} {% if project.label %} {{ project.label }} {% else %} New Project {% endif %} {% for tag in project.get_tags %} {{ tag.label }} {% endfor %} {% for digital_object in project.digital_object_lookup.gateproject %}
{{ digital_object.gateproject.proposal }}
{% endfor %}
{{ project.last_modified_aggregate | date:"M d, Y" }} {{ project.owner }} Open
{% for i in sub.level %}    {% endfor %} {% if sub.has_child %} {% endif %} {% if sub.project.label %} {{ sub.project.label }} {% else %} New Project {% endif %} {% for tag in sub.project.get_tags %} {{ tag.label }} {% endfor %} {% for digital_object in sub.project.digital_object_lookup.gateproject %}
{{ digital_object.gateproject.proposal }}
{% endfor %}
{{ sub.project.last_modified_aggregate | date:"M d, Y" }} {{ sub.project.owner }} Open
{% else %}
{% endif %}
Create Project
{% endblock content %}