{% extends "base.html" %}
{% load i18n %}

{% block subtitle %}
    {% trans 'Download the last version of iPad application' %}
{% endblock %}

{% block main %}

    {% if client %}

        <h3>
                <a href="itms-services://?action=download-manifest&url={{current_instance_url}}{% url 'cms:global_settings_plist' last_client_id=client.id  %}">
                  {% trans 'Download version' %} {{ client.version }}
		</a>
        </h3>

    {% else %}

        <p>{% trans 'Nothing application version is available for the moment.' %}</p>

    {% endif %}

{% endblock %}
