{% include "_macros/collection_tile.html" %} {% include "_macros/market_tile.html" %} {% set endpoint=api('collection', [slug]) %} {% defer (url=endpoint, id='collection', as='collection', key=slug) %} {# One display for OSCs... #} {% if this.collection_type == 2 %} {# ...and one for all other collections. #} {% else %}
{{ collection_tile(this) }} {% if this.apps %}
    {% for result in this.apps %}
  1. {{ market_tile(result, link=true, src='collection') }}
  2. {% endfor %}
{% else %} {# L10n: Please do your best to capture the essence of Scooby Doo. #} {{ _("Ruh roh! No apps here, Shaggy!") }} {% endif %}
{% endif %} {% placeholder %}

{% except %}

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

{{ _('We could not load that collection. Please try again later.') }}

{% end %}