{% extends "admin/media/image_picker.html" %} {% load i18n grp_tags admin_urls admin_static admin_list media_admin_tags core_tags helpful_tags %} {% block before_items %} {% if folders|length > 0 or current_folder %}

{% if current_folder %} {% if current_folder.parent %}
← Go back to {{current_folder.parent.title}}
{% else %} {% get_query_string as query_string %}
← All folders
{% endif %}
Showing items in {{current_folder.title_path}}
{% else %} {% if ignore_folders %}
Showing items across all folders
{% else %}
Showing items at the top level, that aren't in a folder
{% endif %} {% endif %}

{% if not ignore_folders %} {% endif %}
{% endif %} {{block.super}} {% endblock %}