{% from "_macros/detail.html" import detail_header %} {% from "_macros/emaillink.html" import emaillink %} {% from "_macros/review.html" import review %} {% from "_macros/stars.html" import stars %} {% set endpoint = api('app', [slug]) %} {{ detail_header(url=endpoint, key=slug, content_type='app', placeholder=placeholder_app) }} {% defer (url=endpoint, as='app', key=slug) %} {# Apply transformer to get categories etc. working. #} {% set app = apps.transform(this) %}
{% if app.description %}

{{ _('Description') }}

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

{{ _('View All') }}
{% endif %}
{% if app.release_notes %}

{{ _('Updates') }}

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

{{ _('View All') }}
{% endif %} {% if app.is_packaged and app.last_updated %}

{{ _('Last updated') }}

{{ app.last_updated|date }}

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

{{ _('Reviews') }}

{% include "_includes/reviews_summary.html" %} {% if this.meta.total_count %}
    {% for _review in this.objects.slice(0, 6) %} {{ review(_review, detailpage=true, current_version=this.info.current_version) }} {% endfor %}
{% else %}

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

{% endif %}
{% include "_includes/reviews_sidebar.html" %}
{% 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 %} {% defer (url=endpoint, as='app', key=slug) %}

{{ _('More Information') }}

{% include "_includes/content_ratings.html" %}
{% except %} {% end %} {% defer (url=endpoint, as='app', key=slug, id='app-data') %}
{{ _('Report Abuse') }}
{% except %} {% end %}