{% if error == false %}
{% if Documents or Download_Archive %}
{% if main_folder_title %}
<{{Title_Tags}}>{{main_folder_title}}{{Title_Tags}}>
{% endif %}
{% endif %}
{% if Download_Archive %}
{% if Archive_Error %}
{{Archive_Error}}
{% endif %}
{% if Anchor_Link %}
{{'Download all documents as single ZIP file:'|trans}}
{{'Prepare archive'|trans}}
{% elseif Download_Page %}
{{'Your ZIP download is ready:'|trans}}
{{Archive_Filename}}
{% elseif Empty_Archive %}
{{'No documents to download'|trans}}
{% endif %}
{% elseif Documents %}
{% for item in Documents %}
{% if item.Thumbnail %}
{{item.Thumbnail}}
{% else %}
{% endif %}
{% if item.Document_Type == 'file' %}
{% else %}
{{item.Document_Link_Text}}
{% endif %}
{% endfor %}
{% else %}
{% if Thumbnail %}
{{Thumbnail}}
{% else %}
{% endif %}
{% endif %}
{% else %}
{% if error == 'no_user' %}
You must be an extranet user to see this plugin
{% endif %}
{% endif %}