forked from GNUsocial/gnu-social
Eliseu Amaro
b3d582f665
[TWIG] Cards are now divided into blocks and macros, additional macros done, attachments page no longer inside cards directory [CARDS][Navigation] Now using macros to create section, details, and nav elements
9 lines
439 B
Twig
9 lines
439 B
Twig
{% extends 'stdgrid.html.twig' %}
|
|
|
|
{% block body %}
|
|
<section class="frame-section frame-section-padding">
|
|
<h1>{{ 'Attachment' | trans }} {{ title }}</h1>
|
|
{% include '/cards/blocks/attachment.html.twig' with {'attachment': attachment, 'note': note, 'title': title} only %}
|
|
<a class="frame-section-button-like" href="{{ download }}"> {{ 'Original attachment link' | trans }}</a>
|
|
</section>
|
|
{% endblock body %} |