{% extends "layout.html" %} {% from "_order_v2.html" import science_info, stain_details, sample_details with context %} {% block morehead %} {% assets filters="jsmin", output="gen/slide_v2-packed.js", "assign_stain_form.js", "stain_widgets.js", "tag_container.js", "tag_slide_form.js" %} {% endassets %} {% assets filters="cssmin", output="gen/slide_v2-packed.css", "css/stain_widgets.css", "css/tag_container.css" %} {% endassets %} {% endblock %} {% block content %}
{% if slide.is_available() %} {% if slide.renditions.original %} Download {% endif %} {% if slide.renditions.viewer_dzi %} View {% endif %} {% else %} {% if slide.is_archived() %} Restore {% endif %} {% if slide.is_restoring() %} Restoration in progress {% endif %} {% endif %} {% if can_delete() and not slide.deleted %} Delete Slide {% endif %}
{% include "slide_js_init.html" %} {% include "assign_stain_form.html" %}
{% include "tag_slide_form.html" %}
Expires: {{ slide.expires.strftime("%Y-%m-%d %H:%M") }}
{% if slide.is_viewable() %}Share URL: {{ url_for('view_slide', slide_id=slide.id, code=slide.share_code, _external=True) }}
{% else %} {% endif %} {% endif %}