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

19 lines
567 B
Twig
Raw Normal View History

{% extends 'stdgrid.html.twig' %}
{% block title %}Actors{% endblock %}
{% block body %}
<section class="section-widget section-widget-padded">
<h2 class="section-title">{{ "Actors" | trans }}</h2>
<div class="section-widget-padded">
{% if actors is defined and actors is not empty %}
{% for actor in actors %}
{% include 'directory/actor.html.twig' %}
{% endfor %}
{% else %}
<h1>{% trans %}No actors here.{% endtrans %}</h1>
{% endif %}
</div>
</section>
{% endblock body %}