2021-09-18 04:33:02 +09:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2021-12-02 06:41:41 +09:00
|
|
|
{% import '/cards/note/view.html.twig' as noteView %}
|
2021-09-18 04:33:02 +09:00
|
|
|
|
2021-12-02 06:41:41 +09:00
|
|
|
{% block title %}{{ actor.getNickname() ~ '\'s profile' | trans }}{% endblock %}
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
|
|
|
{% endblock stylesheets %}
|
2021-09-18 04:33:02 +09:00
|
|
|
|
|
|
|
{% block body %}
|
2021-12-02 06:41:41 +09:00
|
|
|
{% block profile_view %}
|
|
|
|
{% include 'cards/profile/view.html.twig' %}
|
|
|
|
{% endblock profile_view %}
|
2021-09-20 22:38:39 +09:00
|
|
|
|
2021-12-02 06:41:41 +09:00
|
|
|
<main class="feed" tabindex="0" role="feed">
|
|
|
|
<div class="h-feed hfeed notes">
|
|
|
|
{% if notes is defined and notes is not empty %}
|
|
|
|
{% for note in notes %}
|
|
|
|
{% block current_note %}
|
|
|
|
{{ noteView.macro_note(note, null) }}
|
|
|
|
<hr tabindex="0" title="{{ 'End of note and replies.' | trans }}">
|
|
|
|
{% endblock current_note %}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</main>
|
2021-11-26 22:05:23 +09:00
|
|
|
{% endblock body %}
|