2021-11-26 20:59:11 +09:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
{% import '/cards/note/view.html.twig' as noteView %}
|
2021-09-21 00:17:13 +09:00
|
|
|
|
2021-12-07 07:22:23 +09:00
|
|
|
{% block stylesheets %}
|
2021-12-08 04:53:56 +09:00
|
|
|
{{ parent() }}
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
2021-12-07 07:22:23 +09:00
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
2021-11-26 20:59:11 +09:00
|
|
|
{% block body %}
|
2021-12-08 04:53:56 +09:00
|
|
|
{% if tag_name is defined and tag_name is not null %}
|
|
|
|
{% if tag_name is instanceof('string') %}
|
|
|
|
<h2>{% trans %}People with tag: %tag_name%{% endtrans %}</h2>
|
|
|
|
{% else %}
|
|
|
|
{% set tags = tag_name|join(', ') %} {# TODO Not ideal, hard to translate #}
|
|
|
|
<h2>{% trans %}People with tags: %tags%{% endtrans %}</h2>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2021-12-07 07:22:23 +09:00
|
|
|
|
2021-12-08 04:53:56 +09:00
|
|
|
{% for pinned in handle_event('AddPinnedFeedContent', app.request) %}
|
|
|
|
{% include pinned['template'] with { 'note_tags': pinned['vars']} only %}
|
|
|
|
{% endfor %}
|
2021-11-29 03:58:56 +09:00
|
|
|
|
2021-12-08 04:53:56 +09:00
|
|
|
{% for note in results %}
|
|
|
|
{% block current_note %}
|
|
|
|
{{ noteView.macro_note(note) }}
|
|
|
|
{% endblock current_note %}
|
|
|
|
{% endfor %}
|
2021-11-26 20:59:11 +09:00
|
|
|
|
2021-12-08 04:53:56 +09:00
|
|
|
<div class="section-widget section-widget-padded section-widget-paging">
|
|
|
|
{{ "Page " ~ page }}
|
|
|
|
</div>
|
2021-11-26 20:59:11 +09:00
|
|
|
{% endblock %}
|