{% 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. A visitor never sees a figure that only a private record explains. The anatomy and the facts column come from `overview/page.html`; this template fills the project's own blocks. Its context is gathered by the `Overview` plugin in `fairdm/core/project/plugins.py`. Project blocks in the wide column: overview.about, overview.datasets, overview.charts, overview.map, overview.activity. The timeline sits in overview.details_extra. {% endcomment %} {% block overview.badges %} {{ project.get_status_display }} {% if project.visibility != project.VISIBILITY.PUBLIC %} {% endif %} {% endblock overview.badges %} {% block overview.manage %} {% if can_manage and urls.add_dataset %} {% endif %} {% endblock overview.manage %} {% 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 counts.datasets %}{{ counts.datasets }}{% endif %} {% if counts.datasets and urls.datasets %} {% endif %} {% if datasets_preview.rows %} {% for dataset in datasets_preview.rows %}
{{ dataset.name }}
{% if dataset.data_is_public %} {% translate "Published" %} {% else %} {% translate "Unpublished" %} {% endif %} {% if dataset.license %} {{ dataset.license.name }} {% else %} {% translate "No licence" %} {% endif %} {% blocktranslate count counter=dataset.n_samples %}{{ counter }} sample{% plural %}{{ counter }} samples{% endblocktranslate %} · {% blocktranslate count counter=dataset.n_measurements %}{{ counter }} measurement{% plural %}{{ counter }} measurements{% endblocktranslate %} {% blocktranslate with when=dataset.modified|naturalday:"SHORT_DATE_FORMAT" %}Last updated {{ when }}{% endblocktranslate %}
{% endfor %}
{% 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 composition_chart or growth_chart %}
{% if composition_chart %} {% endif %} {% if growth_chart %} {% endif %}
{% endif %} {% endblock overview.charts %} {% block overview.map %} {% endblock overview.map %} {% block overview.activity %} {% endblock overview.activity %} {% endblock overview.main %} {% block overview.details_extra %} {% if timeline.start_date %} {{ timeline.start_text }} – {% if timeline.end_date %}{{ timeline.end_text }}{% else %}{% translate "ongoing" %}{% endif %} {% if timeline.percent is not None %}{{ timeline.label }}{% endif %} {% if timeline.percent is not None %} {% endif %} {% elif not timeline.end_date %} {% translate "No start or end date has been recorded." %} {% endif %} {% endblock overview.details_extra %}