~fabrixxm/activist

ffa4b0b73c7ff00d9a32ac30ebc2377998ca2b5b — fabrixxm a month ago 182941b
Add attachments captions as title
2 files changed, 2 insertions(+), 2 deletions(-)

M activist/templates/f/object-small.tpl.j2
M activist/templates/f/object.tpl.j2
M activist/templates/f/object-small.tpl.j2 => activist/templates/f/object-small.tpl.j2 +1 -1
@@ 20,7 20,7 @@
            {% set attachments = obj.data.attachment %}
            {% for a in attachments  %}
                {# TODO: check type and mediaType #}
                <img src="{{ a.url }}" class="img-responsive">
                <img src="{{ a.url }}" class="img-responsive" title="{{ a.name|escape }}">
            {% endfor %}

        </div>

M activist/templates/f/object.tpl.j2 => activist/templates/f/object.tpl.j2 +1 -1
@@ 39,7 39,7 @@
        {% set attachments = obj.data.attachment %}
        {% for a in attachments  %}
            {# TODO: check type and mediaType #}
            <img src="{{ a.url }}" class="img-responsive">
            <img src="{{ a.url }}" class="img-responsive" title="{{ a.name|escape }}">
        {% endfor %}
    </div>