2021-04-30 04:51:13 +09:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2021-11-02 06:19:20 +09:00
|
|
|
|
2021-10-29 08:33:24 +09:00
|
|
|
{% set override_import = handle_override_template_import('/network/feed.html.twig', '/cards/note/view.html.twig') %}
|
|
|
|
{% import override_import as noteView %}
|
2020-03-13 02:59:13 +09:00
|
|
|
|
2021-09-23 00:46:58 +09:00
|
|
|
{% block title %}{% if page_title is defined %}{{ page_title | trans }}{% endif %}{% endblock %}
|
2020-07-27 00:05:07 +09:00
|
|
|
|
2021-10-06 06:44:22 +09:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2021-10-06 08:45:37 +09:00
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
2021-10-06 06:44:22 +09:00
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
2020-07-27 00:05:07 +09:00
|
|
|
{% block body %}
|
2021-08-09 21:25:08 +09:00
|
|
|
{# Backwards compatibility with hAtom 0.1 #}
|
2021-09-07 23:23:41 +09:00
|
|
|
<main class="timeline" tabindex="0" role="feed">
|
|
|
|
<div class="h-feed hfeed notes">
|
2021-08-09 21:25:08 +09:00
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for conversation in notes %}
|
2021-10-29 08:33:24 +09: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 21:25:08 +09:00
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
|
|
{% endif %}
|
2021-08-20 04:37:16 +09:00
|
|
|
</div>
|
|
|
|
</main>
|
2021-09-23 00:46:58 +09:00
|
|
|
{% endblock body %}
|