b3d582f665
[TWIG] Cards are now divided into blocks and macros, additional macros done, attachments page no longer inside cards directory [CARDS][Navigation] Now using macros to create section, details, and nav elements
23 lines
810 B
Twig
23 lines
810 B
Twig
{% extends 'stdgrid.html.twig' %}
|
|
{% import '/cards/macros/note.html.twig' as noteView %}
|
|
|
|
{% block title %}{{ note.getActorNickname() ~ '\'s note' | trans }}{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
|
{% 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 %}
|
|
{{ noteView.note_vanilla(note, null) }}
|
|
{% else %}
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
{% endif %}
|
|
</div>
|
|
</main>
|
|
{% endblock body %}
|