{% 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 %}
{% with obj=manager.image %} {% include "webclient/annotations/includes/description.html" %} {% endwith %} {% with image=manager.image parent=manager.image.getParent %} {% 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 %}
{% 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 %}
{% 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.well.getWellSample.image %} {% with canDownload=manager.well.canDownload omeTiffDisabled=True %} {% include "webclient/annotations/includes/toolbar.html" %} {% endwith %} {% with obj=image nameText=image.name wellImageId=image.id %} {% include "webclient/annotations/includes/name.html" %} {% endwith %}
{% with obj=image %} {% include "webclient/annotations/includes/description.html" %} {% endwith %} {% include "webclient/annotations/includes/core_metadata.html" %} {% endwith %}{# "image=manager.well.getWellSample.image" #} {% 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 %}

Plate Run ID: {{ manager.acquisition.id }}

Owner: {{ manager.acquisition.getOwner.getFullName }}

{% with obj=manager.acquisition %} {% include "webclient/annotations/includes/description.html" %} {% endwith %}
Creation Date: {{ manager.acquisition.getDate|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 %}
{% 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 %}
{% 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 %}

Annotations


{% trans "Rating" %}

{% with ratings=manager.getGroupedRatings %} {% if manager.canAnnotate %}
{% endif %}
(avg: {{ ratings.average }} / {{ ratings.count }} votes)
{% endwith %}

{% trans "Tags" %}

{% if manager.canAnnotate %}
{% endif %}
{% with tags=manager.tag_annotations %} {% include "webclient/annotations/tags.html" %} {% endwith %}

{% trans "Attachments" %}

{% if manager.canAnnotate %} {% endif %}

{% include "webclient/annotations/mapannotations.html" %}

{% if manager.xml_annotations or manager.boolean_annotations or manager.double_annotations or manager.long_annotations or manager.term_annotations or manager.time_annotations %}

{% trans "Others" %}:

{% for ann in manager.xml_annotations %} {% endfor %} {% for ann in manager.boolean_annotations %} {% endfor %} {% for ann in manager.double_annotations %} {% endfor %} {% for ann in manager.long_annotations %} {% endfor %} {% for ann in manager.term_annotations %} {% endfor %} {% for ann in manager.time_annotations %} {% endfor %}
XML:
{{ ann.getValue|escape|slice:"0:30" }}...
Open in window
{{ ann.getValue }}
{% include "webclient/annotations/custom_ann_tooltip.html" %}
Boolean: {{ ann.getValue }} {% include "webclient/annotations/custom_ann_tooltip.html" %}
Double: {{ ann.getValue }} {% include "webclient/annotations/custom_ann_tooltip.html" %}
Long: {{ ann.getValue }} {% include "webclient/annotations/custom_ann_tooltip.html" %}
Term: {{ ann.getValue }} {% include "webclient/annotations/custom_ann_tooltip.html" %}
Time: {{ ann.getValue }} {% include "webclient/annotations/custom_ann_tooltip.html" %}

{% endif %}
{% if manager.canAnnotate %}
{% csrf_token %}
{{ form_comment.image }}
{{ form_comment.dataset }}
{{ form_comment.project }}
{{ form_comment.screen }}
{{ form_comment.plate }}
{{ form_comment.acquisition }}
{{ form_comment.well }}
{{ form_comment.comment }}
{% endif %}
{% for tann in manager.text_annotations %} {% with added_by=tann.link.getDetails.getOwner.id %} {% include "webclient/annotations/comment.html" %} {% 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 %}