{% extends "accounts/_section.html" %} {% load paginator %} {% load absurl %} {% block title %}Attribution{% endblock %} {% block content %}

Attribution

This is the list of files you have downloaded. When you use freesound samples (under the "attribution" or "attribution non-commercial license"), you have to credit the original creator of the sound in your work. This list makes it a little bit easier to do so. "S" means sound, "P" means pack.
There are 3 flavors of this list: regular, html or plain text.

{% show_paginator paginator page current_page request "download" %} {% regroup page.object_list by created|date:"F jS, Y" as downloads %} {% ifequal format "regular" %} {% for group in downloads %}

Downloaded on {{group.grouper}}

{% endfor %} {% endifequal %} {% ifequal format "html" %}

{% for group in downloads %} {% filter force_escape %}

Downloaded on {{group.grouper}}

{% endfilter %}
{% filter force_escape %}{% endfilter %}
{% endfor %}

{% endifequal %} {% ifequal format "plaintext" %}

{% for group in downloads %} Downloaded on {{group.grouper}}
{% for download_item in group.list %}      {% if download_item.sound %} {% with download_item.sound as sound %} S: {{sound.original_filename}} by {{sound.user.username}} -- {% absurl 'short-sound-link' sound.id %} -- License: {{ download_item.get_license }}
{% endwith %} {% else %} {% with download_item.pack as pack %} P: {{pack.name}} by {{pack.user.username}} -- {% absurl 'pack' pack.user.username pack.id %}
{% endwith %} {% endif %} {% endfor %} {% endfor %}

{% endifequal %} {% show_paginator paginator page current_page request "download" %}
{% endblock %}