gnu-social/plugins/Directory/templates/directory/actors.html.twig

29 lines
900 B
Twig
Raw Normal View History

{% extends 'stdgrid.html.twig' %}
{% block title %}{{ title }}{% endblock %}
{% block body %}
2021-12-26 02:59:49 +09:00
<section class="section-widget section-padding">
<h2 class="section-title">{{ title }}</h2>
<div>
<p>{% trans %}Sort by:{% endtrans %}</p>
{% for option in sort_options %}
<a {{ option.active ? 'class="active"' : '' }} href="{{ option.url }}">{{ option.label }}</a>
{% endfor %}
</div>
2021-12-26 02:59:49 +09:00
<div class="section-padding">
{% if actors is defined and actors is not empty %}
{% for actor in actors %}
{% block profile_view %}{% include 'cards/profile/view.html.twig' %}{% endblock profile_view %}
2021-12-26 02:59:49 +09:00
<hr>
{% endfor %}
<p>{% trans %}Page: %page%{% endtrans %}</p>
{% else %}
<h3>{{ empty_message }}</h3>
{% endif %}
</div>
</section>
{% endblock body %}