wcs/wcs/templates/wcs/formdata_status.html

35 lines
1.0 KiB
HTML

{% load i18n %}
{% with workflow_messages=view.workflow_messages %}
{% if workflow_messages %}
{{ workflow_messages|safe }}
{% else %}
<div id="receipt-intro">
{{ view.recorded_message|safe }}
{% if mine %}
{{ view.get_handling_role_info_text|safe }}
{% endif %}
{% if mine and formdata.formdef.enable_tracking_codes and formdata.tracking_code %}
<p id="tracking-code">
{% trans "You can get back to this page using the following tracking code:" %}
<a href="../code/{{ formdata.tracking_code }}/" rel="popup">{{ formdata.tracking_code }}</a>
</p>
{% endif %}
</div>
{% endif %}
{% endwith %}
{{ view.receipt|safe }}
{{ view.history|safe }}
{{ view.bottom_workflow_messages|safe }}
{% if workflow_form %}
{{ view.actions_workflow_messages|safe }}
{{ workflow_form.render|safe }}
{% endif %}
{% if not response.iframe_mode %}
<div class="back-home-button">
<a href="{{ publisher.get_root_url }}">{% trans "Back Home" %}</a>
</div>
{% endif %}