[UI][COMPONENT][Tag] Use base template and properly display notes in tag stream
This commit is contained in:
parent
c178054433
commit
6919f38592
@ -1,7 +1,12 @@
|
||||
{% for note in notes %}
|
||||
<div>
|
||||
{{ note.getRendered() | raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% extends 'base.html.twig' %}
|
||||
{% import '/cards/note/view.html.twig' as noteView %}
|
||||
|
||||
{{ "Page: " ~ page }}
|
||||
{% block body %}
|
||||
{% for note in notes %}
|
||||
{% block current_note %}
|
||||
{{ noteView.macro_note(note) }}
|
||||
{% endblock current_note %}
|
||||
{% endfor %}
|
||||
|
||||
{{ "Page: " ~ page }}
|
||||
{% endblock %}
|
||||
|
@ -118,4 +118,4 @@
|
||||
</section>
|
||||
</div>
|
||||
</article>
|
||||
{% endmacro macro_note_minimal %}
|
||||
{% endmacro macro_note_minimal %}
|
||||
|
Loading…
Reference in New Issue
Block a user