2021-04-29 20:51:13 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2021-11-07 01:32:06 +00:00
|
|
|
{% import '/cards/note/view.html.twig' as noteView %}
|
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
|
|
|
|
2021-10-05 22:44:22 +01:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-10-06 00:45:37 +01:00
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
2021-10-05 22:44:22 +01:00
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
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-10-29 00:33:24 +01:00
|
|
|
{% block current_note %}
|
|
|
|
{{ noteView.macro_note(conversation['note'], conversation['replies']) }}
|
|
|
|
<hr tabindex="0" title="{{ 'End of note and replies.' | trans }}">
|
|
|
|
{% endblock current_note %}
|
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-09-22 16:46:58 +01:00
|
|
|
{% endblock body %}
|