gnu-social/components/Collection/templates/collection/actors.html.twig

29 lines
900 B
Twig

{% extends 'stdgrid.html.twig' %}
{% block title %}{{ title }}{% endblock %}
{% block body %}
<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>
<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 %}
<hr>
{% endfor %}
<p>{% trans %}Page: %page%{% endtrans %}</p>
{% else %}
<h3>{{ empty_message }}</h3>
{% endif %}
</div>
</section>
{% endblock body %}