{% extends "tinyimages/base_list.html" %}
{% load i18n %}

{% block message %}
    <p>
        {% trans "Your files. Select one to be inserted into editor" %}
    </p>
{% endblock %}

{% block content_object %}
    <div class="title">
        <a href="#" onClick="javascript:returnURL('{{ object.file.url }}','', '', ''); return false;">{{ object.title }}</a>
    </div>
    <div class="image-actions">
        {% if user.is_authenticated %}
        <a href="{% url tinyfile_delete object.id %}">{% trans "Delete file" %}</a>
        {% endif %}
    </div>
{% endblock %}