[TWIG] Add Links representation to notes
This commit is contained in:
parent
ef1a9ce3b1
commit
061c953eac
|
@ -9,4 +9,3 @@
|
|||
<i> <a href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a> </i>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -46,6 +46,13 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="note-links">
|
||||
{% for link in note.getLinks() %}
|
||||
{% for block in handle_event('ViewLink', {'link': link, 'note': note}) %}
|
||||
{{ block | raw }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if replies is defined %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user