{% include "_macros/emaillink.html" %} {% include "_macros/market_tile.html" %} {% include "_macros/rating.html" %} {% include "_macros/stars.html" %} {% set endpoint = api('app', [slug]) %}
{% defer (url=endpoint, as='app', key=slug, id='app-data') %} {{ market_tile(this, src='detail') }} {% placeholder %}

{{ _('Loading...') }}

{{ _('Loading...') }}
{{ stars(0) }}
{% except %}

{{ _('Oh no!') }}

{% if error == 403 %}

{{ _('The app requested is not public.') }}

{% elif error == 404 %}

{{ _('The app requested was not found.') }}

{% elif error == 451 %}

{{ _('The app requested is not available for your region.') }}

{{ _('You may wish to contact the developer if you would like to see a version of this app for your region.') }}

{% else %}

{{ _('A server error occurred. Please try again later.') }}

{% endif %}
{% end %}

{{ _('Installed!') }}

{{ _('Launch this app from your Applications directory.') }}

{{ _('Launch this app from your Windows desktop or Start ► All Programs.') }}

{{ _('Launch this app from your dash, Application picker, or Applications menu.') }}

{% defer (url=endpoint, as='app', key=slug) %} {% if this.banner_regions and this.banner_message and this.banner_regions.indexOf(user_helpers.region()) != -1 %}
{{ this.banner_message|translate(this)|safe }}
{% endif %} {% if this.release_notes %}

{{ _('Updates') }}

{{ this.release_notes|translate(this)|nl2br }}

{{ _('More…') }}
{% endif %} {# No placeholder, the block below already supplies one #} {% except %} {% end %}
{% defer (url=endpoint, as='app', key=slug) %}

{{ _('Description') }}

{{ this.description|translate(this)|nl2br }}

{{ _('More…') }} {% if this.is_packaged %}

{{ _('Version') }}

{{ _('Latest version: {version}', version=this.current_version) }}
{% endif %} {% placeholder %}

{% except %} {% end %}
{% defer (url=endpoint, as='app', key=slug) %} {% if user.has_developed(this.id) or user.get_permission('reviewer') %}

{{ _('Edit Listing') }}

{% if user.get_permission('reviewer') %}

{{ _('Approve / Reject') if this.status == 2 or this.status == 13 else _('Review History') }}

{% endif %}
{% endif %} {% except %} {% end %}
{% defer (url=apiParams('reviews', {'app': slug}), id='ratings') %}

{{ _('Reviews') }}

{% set has_second_button = this.user.can_rate or not user.logged_in() or this.user.has_rated %} {% if this.meta.total_count %}
    {% for rat in this.objects.slice(0, 2) %} {{ rating(rat, detailpage=true, current_version=this.info.current_version) }} {% endfor %}
{% else %}

{{ _('App not yet rated') }}

{% endif %} {% if has_second_button %}
{% if user.logged_in() and this.user.has_rated %} {{ _('Edit Your Review') }} {% else %} {{ _('Write a Review') if user.logged_in() else _('Sign in to Review') }} {% endif %}
{% endif %}
{% placeholder %}

{% except %} {% end %}
{% defer (url=endpoint, as='app', key=slug) %}
{% if settings.payments_enabled and settings.upsell_enabled and this.upsell %}
{{ _('Premium version available') }} {{ this.upsell.name }}
{% endif %} {% except %} {% end %} {% include "detail/content_ratings.html" %}