{% extends "webgateway/core_html.html" %} {% load i18n %} {% load common_tags %} {% load common_filters %} {% load wikitags %} {% comment %} {% endcomment %} {% block link %} {% endblock %} {% block script %} {{ block.super }} {% endblock %} {% block body %}
{% 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 %} {% include "webclient/annotations/includes/core_metadata.html" %} {% endwith %} {% endif %} {% if manager.share %}

{{ manager.share.getShareType }} {{ manager.share.id }} {% if manager.share.isOwned %} {% endif %}


{{ manager.share.message|default:""|escape|linebreaks }}

Owner: {{ manager.share.getOwner.getFullName }}
Status: {% if manager.share.isExpired %}EXPIRED{% else %}{% if manager.share.active %}ACTIVE{% else %}NOT ACTIVE{% endif %}{% endif %}
Creation Date: {{ manager.share.getStartDate|date:"Y-m-d H:i:s" }}
Expiry Date: {{ manager.share.getExpireDate|date:"Y-m-d H:i:s" }}
Share Count: {{ manager.share.itemCount }} {% plural manager.share.itemCount 'image' 'images' %}
Members:
    {% for m in manager.allInShare %}
  1. {{ m.getFullName }}
  2. {% endfor %}

{% trans "Annotations" %}

{% trans "Comment:" %} {% if manager.share.isExpired %} This {{ manager.share.getShareType|lower }} has expired and you no longer can make any comments. {% else %}
{% csrf_token %}
{{ form_comment.share }}
{{ form_comment.comment }}
{% endif %}
{% for tann in manager.comments %} {% include "webclient/annotations/comment.html" %} {% endfor %}
{% endif %}
{% if manager.share.id %}
{% csrf_token %}
{% endif %} {% endblock %}