{% from "_macros/app_tile.html" import app_tile %} {% macro detail_header(url, key, content_type, placeholder=None) %} {% defer (url=url, key=key, id=content_type + '-data', as=content_type) %}

 

{% except %}

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

{% if error == 403 %}

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

{% elif error == 404 %}

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

{% elif error == 451 %}

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

{% if content_type == 'app' %}

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

{% endif %} {% else %}

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

{% endif %}
{% end %}
{% defer (url=url, key=key, id=content_type + '-data', as=content_type) %}
{{ app_tile(this, is_detail=True, tray=True, src=trackingEvents.SRCS.detail) }}
{% placeholder %}
{% if placeholder %} {{ app_tile(placeholder, is_detail=True, tray=True) }} {% endif %}
{% except %} {% end %} {% endmacro %}