2021-12-01 21:04:51 +00:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2022-02-06 21:37:04 +00:00
|
|
|
{% import '/cards/macros/note.html.twig' as noteView %}
|
2021-12-01 21:04:51 +00:00
|
|
|
|
|
|
|
{% block title %}{{ note.getActorNickname() ~ '\'s note' | trans }}{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
2022-02-08 14:12:59 +00:00
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/pages/feeds.css') }}" type="text/css">
|
2021-12-01 21:04:51 +00:00
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
{# Backwards compatibility with hAtom 0.1 #}
|
|
|
|
<main class="feed" tabindex="0" role="feed">
|
|
|
|
<div class="h-feed hfeed notes">
|
|
|
|
{% if note is defined and note is not empty %}
|
2022-02-06 21:37:04 +00:00
|
|
|
{{ noteView.note_vanilla(note, null) }}
|
2021-12-01 21:04:51 +00:00
|
|
|
{% else %}
|
|
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{% endblock body %}
|