{% 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 who made it, whether its data is published and under what licence, what it holds and how it grew, when each step of its life happened, how to cite it. The anatomy and the side 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.lifecycle, overview.data (shown only while the dataset is empty), overview.charts. In the side column: overview.publications. {% endcomment %} {% block overview.badges %} {% if access.state == "published" %} {{ access.label }} {% elif access.state == "public" %} {{ access.label }} {% else %} {{ access.label }} {% endif %} {% endblock overview.badges %} {% block overview.facts %} {% if project_info %}
  • {% translate "Project" %}{{ project_info.project }}
  • {% endif %}
  • {% translate "Licence" %}{% if dataset.license %}{{ dataset.license.name }}{% else %}{% translate "No licence" %}{% endif %}
  • {% if primary_identifier %}
  • {{ primary_identifier.type }}{{ primary_identifier.value }}
  • {% endif %} {% endblock overview.facts %} {% block overview.readiness %} {% if readiness %} {% if can_manage and not dataset.data_is_public %} {% translate "Publish" as label %} {% translate "Checks the list under Ready to publish? and releases the data." as reason %} {% endif %} {% endif %} {% endblock overview.readiness %} {% 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 its description now, 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 %}
    {% if shows_records %} {% endif %}
    {% 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.lifecycle %}
      {% for step in lifecycle %}
    1. {{ step.label }} {% if step.day %} {{ step.day|date:"SHORT_DATE_FORMAT" }} {% elif step.date %} {{ step.date }} {% elif step.done %} {% translate "date not recorded" %} {% else %} {% translate "Not yet" %} {% endif %}
    2. {% endfor %}
    {% endblock overview.lifecycle %} {% block overview.data %} {% if shows_records and 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." %}

    {% if import_chooser %} {% translate "Import data" as label %} {% endif %} {% else %}

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

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