{% extends "imagestore/base.html" %} {% load i18n %} {% load thumbnail %} {% block breadcrumb %} {{ block.super }} » {% trans "Gallery" %} » {% if album %} {{ album.user.username }} » {% endif %} {% endblock %} {% block title %} {% if view_user %} {% trans "User" %} {{ view_user.username }} {% endif %} {% if album %} {% trans "Album" %} {{ album.name }} {% endif %} {% if tag %} {% trans "Tag:" %} {{ tag }} {% 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 %} {% if album and IMAGESTORE_SHOW_USER %} {% with album.user.get_profile as profile %} {% include "imagestore/user_info.html" %} {% endwith %} {% endif %} {% endblock %} {% block controls %} {% if album %} {% if request.user == album.user or perms.imagestore.moderate_albums %}