[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 %}
|
{% extends 'base.html.twig' %}
|
||||||
<div>
|
{% import '/cards/note/view.html.twig' as noteView %}
|
||||||
{{ note.getRendered() | raw }}
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{{ "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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% endmacro macro_note_minimal %}
|
{% endmacro macro_note_minimal %}
|
||||||
|
Loading…
Reference in New Issue
Block a user