{% extends "accounts/_notab.html" %} {% load display_sound %} {% load tags %} {% load filter_img %} {% load google_maps %} {% block title %}{% if home %}home{% else %}{{user.username}}{% endif %}{% endblock %} {% block head %} {{ block.super }} {% endblock head %} {% block tab_home_active %}{% if home %}active_tab{% endif %}{% endblock %} {% block tab_people_active %}{% if not home %}active_tab{% endif %}{% endblock %} {% block section_content %} {% if home %}

Home



{% else %}

{{user.username}}

{% if user.profile and not user.profile.is_deleted_user %}
{% if request.user.is_authenticated %} {# don't allow a user to follow himself/herself #} {% if user.username != request.user.username and not show_unfollow_button %} {% endif %} {# show unfollow button instead if current page of user is being followed by logged in user already #} {% if show_unfollow_button %} {% endif %} {% endif %}
An error occurred,
please try again.

{% if user.profile.about %}
{{user.profile.about|replace_img|safe|linebreaksbr }}
{% endif %}
{% endif %} {% endif %}
{% if latest_sounds %}

{% if home %}Your{% else %}{{ user.username }}'s{% endif %} latest sounds

{% for sound in latest_sounds %} {% display_raw_sound sound %} {% endfor %}

more...

{% else %}

{% if home %}Your{% else %}{{ user.username }}'s{% endif %} latest sounds

{% if home %}You have not uploaded any sounds... {% else %}{{ user.username }} has not uploaded any sounds... {% endif %}

{% endif %} {% if home %} {% if unmoderated_sounds %}

Uploaded sounds awaiting moderation ({{ unmoderated_sounds_count }})

{% for ticket, sound in unmoderated_sounds %}
  • {{sound.original_filename}}, uploaded on {{sound.created}} Go to ticket
  • {% endfor %} {% if num_more_unmoderated_sounds > 0 %}
  • And {{ num_more_unmoderated_sounds }} other uploaded sound{{ num_more_unmoderated_sounds|pluralize}} {% endif %}
  • more...

    {% endif %} {% if unprocessed_sounds %}

    Uploaded sounds that have not been processed yet ({{ unprocessed_sounds.count }})

    {% comment %}

    Sounds in this list have not been processed yet and thus can't be moderated. This might be because they are still pending to process or because processing has failed.

    {% endcomment %} {% for sound in unprocessed_sounds %}
  • {{sound.original_filename}}, uploaded on {{sound.created}} {% if sound.processing_state == 'PE' %} Processing state: Pending {% else %} {% if sound.processing_state == 'QU' %} Processing state: Queued {% else %} {% if sound.processing_state == 'FA' %} Processing state: Failed {% else %} {% if sound.processing_state == 'PR' %} Processing state: Processing {% else %} Processing state: {{sound.processing_state}} {% endif %} {% endif %} {% endif %} {% endif %} x
  • {% endfor %}
    {% endif %} {% endif %}

    {% endblock %}