[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>
|
<i> <a href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a> </i>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -46,6 +46,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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>
|
</div>
|
||||||
|
|
||||||
{% if replies is defined %}
|
{% if replies is defined %}
|
||||||
|
Loading…
Reference in New Issue
Block a user