{% load cache %} {% if pack %} {% cache 3600 display_pack pack.0.id %} {% with pack.0 as pack %}

{{pack.name}} ({{num_sounds}} sound{{ num_sounds|pluralize }})

by {{pack.user.username}}. Downloaded {{pack.num_downloads}} times.
Tags of sounds inside the pack: {% with pack.get_pack_tags as tags %} {% if tags == -1 %} Tag information is not available right now. {% else %} {% for tag in tags.tags %} {{ tag }} {% endfor %} {% if tags.num_tags == 20 %} ... {% endif %} {% endif %} {% endwith %}

{% with pack.get_random_sounds_from_pack as sounds %} Some random samples from the pack:
{% with sounds.0 as sound %} {% if sound %} {% include "sounds/player_medium.html" %} {% endif %} {% endwith %}
{% with sounds.1 as sound %} {% if sound %} {% include "sounds/player_medium.html" %} {% endif %} {% endwith %}
{% with sounds.2 as sound %} {% if sound %} {% include "sounds/player_medium.html" %} {% endif %} {% endwith %}
{% endwith %}
{% endwith %} {% endcache %} {% endif %}