{% extends "table_view.html" %} {% load i18n humanize %} {% comment %} The Samples and Measurements tabs of a dataset, a project, a person and an organization: one registered type's table at a time. The heading names the type shown and, where several are listed, is the switcher between them. {% endcomment %} {% block page.title %} {% if current_type %} {% else %}

{{ page.title }}

{% endif %} {% endblock page.title %} {% block page.summary %} {% if record_state == "listed" %}{{ block.super }}{% endif %} {% endblock page.summary %} {% block page.side %} {% if record_state == "listed" %}{{ block.super }}{% endif %} {% endblock page.side %} {% block page.panel %} {% if record_state == "listed" %}{{ block.super }}{% endif %} {% endblock page.panel %} {% block page.content %} {% if record_state == "listed" %} {% else %}
{% if kind == "sample" %} {% if holder == "dataset" %} {% translate "This dataset has no samples" as heading %} {% translate "Samples added to the dataset will be listed here, in one table for each sample type." as message %} {% elif holder == "project" %} {% translate "No samples in this project" as heading %} {% translate "Samples in the project's datasets will be listed here, in one table for each sample type." as message %} {% elif own_page %} {% translate "You have no samples yet" as heading %} {% translate "Samples you are credited on, and those in your datasets and projects, will be listed here." as message %} {% else %} {% translate "No published samples" as heading %} {% translate "Published samples this contributor is credited on, or that are in their datasets and projects, will be listed here." as message %} {% endif %} {% else %} {% if holder == "dataset" %} {% translate "This dataset has no measurements" as heading %} {% translate "Measurements added to the dataset will be listed here, in one table for each measurement type." as message %} {% elif holder == "project" %} {% translate "No measurements in this project" as heading %} {% translate "Measurements in the project's datasets will be listed here, in one table for each measurement type." as message %} {% elif own_page %} {% translate "You have no measurements yet" as heading %} {% translate "Measurements you are credited on, and those in your datasets and projects, will be listed here." as message %} {% else %} {% translate "No published measurements" as heading %} {% translate "Published measurements this contributor is credited on, or that are in their datasets and projects, will be listed here." as message %} {% endif %} {% endif %}
{% if import_chooser %} {% if kind == "sample" %}{% translate "Import samples" as import_label %}{% else %}{% translate "Import measurements" as import_label %}{% endif %} {% endif %}
{% endif %} {% endblock page.content %} {% block page.actions %} {% if record_state == "listed" and export_menu or record_state == "listed" and import_url or record_state == "listed" and import_chooser %}
{% if import_url %} {% translate "Import" %} {% elif import_chooser %} {% translate "Import" as import_label %} {% endif %}
{% endif %} {{ block.super }} {% endblock page.actions %} {% block page.footer %} {% if record_state == "listed" %}{{ block.super }}{% endif %} {% endblock page.footer %}