{% 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 %}
{% endif %} {% endblock page.content %} {% block page.footer %} {% if record_state == "listed" %}{{ block.super }}{% endif %} {% endblock page.footer %}