{% load i18n %} {% load common_filters %} {% load common_tags %} {% comment %} {% endcomment %} {% if not manager.tag %}
{% if manager.image %} {% with image=manager.image canDownload=manager.image.canDownload %} {% include "webclient/annotations/includes/toolbar.html" %} {% endwith %} {% with obj=manager.image nameText=manager.image.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Image Details

{% with obj=manager.image %} {% include "webclient/annotations/includes/description.html" %} {% endwith %} {% with image=manager.image %} {% include "webclient/annotations/includes/core_metadata.html" %} {% endwith %}
{% else %} {% if manager.dataset %} {% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.dataset nameText=manager.dataset.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Dataset Details

{% with obj=manager.dataset %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.dataset.getDate|date:"Y-m-d H:i:s" }}
{% else %} {% if manager.project %} {% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.project nameText=manager.project.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Project Details

{% with obj=manager.project %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.project.getDate|date:"Y-m-d H:i:s" }}
{% endif %} {% endif %} {% endif %} {% if manager.well %} {% with image=manager.getWellSampleImage %} {% include "webclient/annotations/includes/toolbar.html" %} {% endwith %} {% with obj=manager.well nameText=manager.well.getWellPos %} {% include "webclient/annotations/includes/name.html" %} {% endwith %} {% else %} {% if manager.acquisition %} {% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.acquisition nameText=manager.acquisition.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Run Details

{% with obj=manager.acquisition %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.acquisition.getDate|date:"Y-m-d H:i:s" }}
Start Time: {{ manager.acquisition.getStartTime|date:"Y-m-d H:i:s" }}
End Time: {{ manager.acquisition.getEndTime|date:"Y-m-d H:i:s" }}
{% else %} {% if manager.plate %} {% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.plate nameText=manager.plate.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Plate Details

{% with obj=manager.plate %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.plate.getDate|date:"Y-m-d H:i:s" }}
{% else %} {% if manager.screen %} {% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.screen nameText=manager.screen.name %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}

Screen Details

{% with obj=manager.screen %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.screen.getDate|date:"Y-m-d H:i:s" }}
Plate Count: {{ manager.screen.countChildren }} {% plural manager.screen.countChildren 'plate' 'plates' %}
{% endif %} {% endif %} {% endif %} {% endif %} {% for t in ome.metadata_panes|dictsort:"index" %} {% with "webclient/annotations/includes/metadata_general_"|add:t.name|add:".html" as metadata_templates_path %} {% with label=t.label %} {% include metadata_templates_path %} {% endwith %} {% endwith %} {% endfor %}
{% endif %} {% if manager.tag %}
{% include "webclient/annotations/includes/toolbar.html" %} {% with obj=manager.tag nameText=manager.tag.getValue %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}
{% with obj=manager.tag %} {% include "webclient/annotations/includes/description.html" %} {% endwith %} {% if manager.tag.getNs %} {% ifnotequal manager.tag.getNs insight_ns %} {% endifnotequal %} {% endif %} {% if False %} {% endif %}
Name space: {{ manager.tag.getNs }}
Owner: {{ manager.tag.getOwner.getFullName }}
Creation Date: {{ manager.tag.getDate|date:"Y-m-d H:i:s" }}
Image Count:{{ manager.tag.countChildren }} {% plural manager.tag.countChildren 'tag' 'tags' %}
{% endif %}