2021-09-17 20:33:02 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2021-12-01 21:41:41 +00:00
|
|
|
{% import '/cards/note/view.html.twig' as noteView %}
|
2021-09-17 20:33:02 +01:00
|
|
|
|
2021-12-01 21:41:41 +00: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-17 20:33:02 +01:00
|
|
|
|
|
|
|
{% block body %}
|
2021-12-01 21:41:41 +00:00
|
|
|
{% block profile_view %}
|
|
|
|
{% include 'cards/profile/view.html.twig' %}
|
|
|
|
{% endblock profile_view %}
|
2021-09-20 14:38:39 +01:00
|
|
|
|
2021-12-01 21:41:41 +00: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 13:05:23 +00:00
|
|
|
{% endblock body %}
|