{% extends "overview/page.html" %}
{% load i18n humanize fairdm %}
{% comment %}
The dataset's overview page.
A dataset is what a portal cites and distributes, so this page answers a reuser's questions in
the order they ask them: what it is and whether its data is published, under what licence, what
it holds and how it grew, how to cite it, and who made it.
The anatomy and the facts column come from `overview/page.html`. Its context is gathered by
the dataset's `Overview` plugin in `fairdm/core/dataset/plugins.py`.
Dataset blocks in the wide column: overview.about, overview.data (shown only while the dataset
is empty), overview.charts, overview.map. In the facts column: overview.timeline,
overview.publications.
{% endcomment %}
{% block overview.badges %}
{% if access.state == "published" %}
{{ access.label }}
{% elif access.state == "public" %}
{{ access.label }}
{% else %}
{{ access.label }}
{% endif %}
{% if dataset.license %}
{{ dataset.license.name }}
{% endif %}
{% endblock overview.badges %}
{% block overview.manage %}
{% if can_manage and not dataset.data_is_public %}
{% translate "Publish" as label %}
{% translate "Checks the list under Ready to publish?, mints a DOI and releases the data." as reason %}
{% translate "Nobody has described this dataset yet. An abstract and a methods section are what a reuser reads first, and both are needed before it can be published." %} {% translate "No description has been added yet." %} {% translate "This dataset holds no samples or measurements yet. Import a spreadsheet or add records by hand to start building it." %} {% translate "No samples or measurements have been added to this dataset yet." %}
{% if can_manage %}{% translate "No publications linked. The paper that describes this data is the one reusers look for first." %}{% else %}{% translate "No publications are linked to this dataset." %}{% endif %}
{% endif %}