{% extends "overview/page.html" %} {% load i18n humanize fairdm %} {% comment %} The project's overview page: the landing page people reach from a grant report, a group website or a paper. Read by someone deciding whether the data is usable to them, someone who has to cite the project, and the team keeping the record complete. The header says what it is, who leads it, where and when, and what it holds. The content runs description, datasets and what the data is. The anatomy and the side column come from `overview/page.html`. This template fills the project's own blocks, from the context the `Overview` plugin in `fairdm/core/project/plugins.py` gathers. Project blocks in the wide column: overview.about, overview.datasets, overview.charts. The timeline is a row of the fact sheet (overview.details_extra). {% endcomment %} {% block overview.badges %} {{ project.get_status_display }} {% if project.visibility != project.VISIBILITY.PUBLIC %} {% translate "Private" %} {% endif %} {% endblock overview.badges %} {% block overview.facts %} {% if project.owner %}
  • {% translate "Organisation" %}{{ project.owner }}
  • {% endif %} {% if timeline.start_date %}
  • {% translate "Runs" %}{{ timeline.start_text }} – {% if timeline.end_date %}{{ timeline.end_text }}{% else %}{% translate "ongoing" %}{% endif %}
  • {% endif %} {% if primary_identifier %}
  • {{ primary_identifier.type }}{{ primary_identifier.value }}
  • {% endif %} {% endblock overview.facts %} {% block overview.notices %} {% if can_manage and project.visibility != project.VISIBILITY.PUBLIC %} {% translate "This project is private. Only people with access to it can open this page, and none of its datasets can be found by anyone else until the project is made public." %} {% endif %} {% if project.status == project.STATUS_CHOICES.SEARCHING_FOR_COLLABORATORS %} {% with person=team.reach %} {% translate "This project is looking for collaborators." %}{% if person %} {% blocktranslate with name=person %}Get in touch with {{ name }} to take part.{% endblocktranslate %}{% endif %} {% if person %}{% endif %} {% endwith %} {% endif %} {% endblock overview.notices %} {% block overview.figures %}
    {% endblock overview.figures %} {% block overview.main %} {% block overview.about %} {% if can_manage %}

    {% translate "Nobody has described this project yet. An abstract is the first thing visitors and search engines read, and the first thing a data repository asks for." %}

    {% else %}

    {% translate "No description has been added yet." %}

    {% endif %}
    {% endblock overview.about %} {% block overview.datasets %} {% if datasets_preview.rows %} {% if datasets_preview.more %} {% blocktranslate count counter=datasets_preview.more %}and {{ counter }} more dataset{% plural %}and {{ counter }} more datasets{% endblocktranslate %} {% endif %} {% else %}
    {% if can_manage %}

    {% translate "Datasets hold this project's samples and measurements, and are what other researchers cite and reuse. Add the first one to start sharing data." %}

    {% if urls.add_dataset %} {% endif %} {% else %}

    {% translate "No datasets have been shared from this project yet." %}

    {% endif %}
    {% endif %}
    {% endblock overview.datasets %} {% block overview.charts %} {% if mix or growth_chart %}
    {% if mix %}{% endif %} {% if growth_chart %}

    {% translate "Growth" %}

    {% endif %}
    {% endif %} {% endblock overview.charts %} {% block overview.map %} {% if sample_map %} {% endif %} {% endblock overview.map %} {% block overview.activity %} {% endblock overview.activity %} {% endblock overview.main %} {% block overview.details_extra %}
    {% translate "Timeline" %}
    {% if timeline.start_date %} {{ timeline.start_text }} – {% if timeline.end_date %}{{ timeline.end_text }}{% else %}{% translate "ongoing" %}{% endif %} {% if edit.dates %}{% endif %} {% if timeline.percent is not None %} {{ timeline.label }}
    {% endif %} {% else %} {% translate "No start or end date has been recorded." %} {% if edit.dates %}{% endif %} {% endif %}
    {% endblock overview.details_extra %}