{% extends "mobile/base.html" %} {% block title %}{{ page_title(addon.name) }}{% endblock %} {% block page %} {% if request.GET.get('status') == 'complete' %}
{% with addon_name=addon.name %}

{{ loc('Thank you') }}

Your purchase of {{ addon_name }} is complete.

{% endwith %}
{% elif request.GET.get('status') %}

Your purchase was cancelled.

{% endif %}

{{ addon.name }}

{# TODO: make this a secret link #}

{{ _('by') }} {{ users_list(addon.listed_authors) }}

{{ mobile_install_button(addon, show_warning=False) }} {# TODO: privacy policy (in button.html right now) #}

{{ addon.summary|nl2br }}

{{ addon.description|nl2br }}
{% if addon.all_previews %} {% endif %} {{ mobile_reviews_link(addon) }}
{% if addon.homepage %} {% endif %} {% if not addon.is_webapp() %} {% if addon.compatible_apps[APP] %} {% endif %} {% endif %} {% if addon.show_adu() and addon.average_daily_users %} {% endif %} {% if addon.weekly_downloads %} {% endif %} {% set version = addon.current_version if not addon.is_webapp() else None %} {% if version %} {% endif %}
{{ _('Updated') }}
{{ _('Website') }} {{ addon.homepage }}
{{ _('Works with') }} {{ addon.compatible_apps[APP] }}
{{ _('Users') }} {{ addon.average_daily_users|numberfmt }}
{{ _('Weekly Downloads') }} {{ addon.weekly_downloads|numberfmt }}
{{ _('Version') }}
{% if addon.current_beta_version %}

{{ _('Caution') }}

{% trans %} The Development Channel lets you test an experimental new version of this add-on before it's released to the general public. Once you install the development version, you will continue to get updates from this channel. {% endtrans %}

{% endif %} {% if addon.support_url %} {{ _('Visit the Support Site') }} {% endif %} {% if addon.supuport_email %} {# TODO: make this a listview, get the emaillink js #} {{ emaillink(addon.support_email.localized_string, _('Ask the Author a Question')) }} {% endif %} {% endblock %} {% block staging %} {% include "addons/mobile/eula.html" %} {% endblock %}