{% extends "imagestore/base.html" %} {% load i18n %} {% load thumbnail %} {% block title %} {% if view_user %} {% trans "Albums for user" %} {{ view_user.username }} {% else %} {% trans "All albums" %} {% endif %} {% endblock %} {% block breadcrumb %} {{ block.super }} » {% if view_user %} {% trans "Gallery" %} » {% endif %} {% endblock %} {% block imagestore-info %} {% if view_user and IMAGESTORE_SHOW_USER %} {% with view_user.get_profile as profile %} {% include "imagestore/user_info.html" %} {% endwith %} {% endif %} {% endblock %} {% block imagestore-related %} {% include "imagestore/tag-cloud.html" %} {% endblock %} {% block content %}

{% if view_user %} {% trans "Albums for user" %} {{ view_user.username }} {% else %} {% trans "All albums" %} {% endif %}

{% include "imagestore/pagination.html" %} {% for album in album_list %} {% if album.get_head or album.user == request.user %}
{% if not view_user and IMAGESTORE_SHOW_USER %}
{% trans "user" %}: {{ album.user.username }}
{% endif %}
{% endif %} {% endfor %} {% include "imagestore/pagination.html" %}
{% endblock %}