gnu-social/plugins/Directory/templates/directory/groups.html.twig
2021-12-27 17:10:58 +00:00

20 lines
630 B
Twig

{% extends 'stdgrid.html.twig' %}
{% block title %}Groups{% endblock %}
{% block body %}
<section class="section-widget section-padding">
<h2 class="section-title">{{ "Groups" | trans }}</h2>
<div class="section-padding">
{% if groups is defined and groups is not empty %}
{% for actor in groups %}
{% block profile_view %}{% include 'cards/profile/view.html.twig' %}{% endblock profile_view %}
<hr>
{% endfor %}
{% else %}
<h1>{% trans %}No groups here.{% endtrans %}</h1>
{% endif %}
</div>
</section>
{% endblock body %}