2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2020-03-12 17:59:13 +00:00
|
|
|
|
2021-09-22 16:46:58 +01:00
|
|
|
{% block title %}{% if page_title is defined %}{{ page_title | trans }}{% endif %}{% endblock %}
|
2020-07-26 16:05:07 +01:00
|
|
|
|
|
|
|
{% block body %}
|
2021-08-09 13:25:08 +01:00
|
|
|
{# Backwards compatibility with hAtom 0.1 #}
|
2021-09-07 15:23:41 +01:00
|
|
|
<main class="timeline" tabindex="0" role="feed">
|
|
|
|
<div class="h-feed hfeed notes">
|
2021-08-09 13:25:08 +01:00
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for conversation in notes %}
|
2021-09-18 07:27:17 +01:00
|
|
|
{% include '/note/view.html.twig' with {'note': conversation['note'], 'replies': conversation['replies']} only %}
|
2021-09-08 21:33:35 +01:00
|
|
|
<hr tabindex="0" title="{{ 'End of note and replies.' | trans }}">
|
2021-08-09 13:25:08 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
|
|
{% endif %}
|
2021-08-19 20:37:16 +01:00
|
|
|
</div>
|
|
|
|
</main>
|
2021-08-09 13:25:08 +01:00
|
|
|
|
2021-09-22 16:46:58 +01:00
|
|
|
{% endblock body %}
|