{% extends 'stdgrid.html.twig' %} {% import '/cards/note/view.html.twig' as noteView %} {% block title %}{{ page_title | trans }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock stylesheets %} {% block body %}

{{ page_title | trans }}

{# Backwards compatibility with hAtom 0.1 #}
{% for key, attachment in attachments %}
{% include '/cards/attachments/view.html.twig' with {'attachment': attachment, 'note': bare_notes[key], 'title': attachment.getBestTitle(bare_notes[key])} only %} {{ 'Download link' | trans }}
{% else %}

{% trans %}No attachments here.{% endtrans %}

{% endfor %}
{% endblock body %}