{% 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" %} {% elif access.state == "public" %} {{ access.label }} {% else %} {% endif %} {% if dataset.license %} {% 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 %} {% endif %} {% endblock overview.manage %} {% block overview.notices %} {% if access.state == "private" and can_manage %} {% translate "This dataset is private. Only people with access to it can open this page." %} {% elif access.state == "public" %} {% if can_manage %} {% translate "Anyone can read this description, but the records stay hidden until the dataset is published." %} {% else %} {% translate "The data in this dataset hasn't been published yet. You can read what it holds, and the records open to everyone once the dataset is published." %} {% endif %} {% endif %} {% if dates.withdrawn %} {% blocktranslate with when=dates.withdrawn_text %}This dataset was withdrawn on {{ when }}. It is kept here so existing citations still resolve.{% endblocktranslate %} {% endif %} {% endblock overview.notices %} {% block overview.figures %} {% endblock overview.figures %} {% block overview.main %} {% block overview.about %} {% if can_manage %}

{% 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." %}

{% else %}

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

{% endif %}
{% endblock overview.about %} {% block overview.data %} {% if not data_types %} {% if can_manage %}

{% translate "This dataset holds no samples or measurements yet. Import a spreadsheet or add records by hand to start building it." %}

{% translate "Import data" as label %} {% translate "Upload a spreadsheet against one of the portal's record types." as reason %}
{% else %}

{% translate "No samples or measurements have been added to this dataset yet." %}

{% endif %}
{% endif %} {% endblock overview.data %} {% 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 %} {% endblock overview.main %} {% block overview.timeline %} {% endblock overview.timeline %} {% block overview.record_facts %} {% block overview.publications %} {% if literature.items %}
    {% for entry in literature.items %}
  • {{ entry.relation }} {% if entry.doi %} {{ entry.item }} {% else %} {{ entry.item }} {% endif %} {% if entry.year %}{{ entry.year }}{% endif %}
  • {% endfor %}
{% else %}

{% 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 %}
{% endblock overview.publications %} {% endblock overview.record_facts %}