[Directory] Move templates from core to plugin

This commit is contained in:
Hugo Sales 2021-04-15 11:40:48 +00:00 committed by Diogo Peralta Cordeiro
parent 8c6881f526
commit f4e40002a4
4 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@
<div class="actors">
{% if actors is defined and actors is not empty %}
{% for actor in actors %}
{% include '/directory/actor.html.twig' with {'actor': actor, 'have_user': have_user} only %}
{% include 'directory/actor.html.twig' with {'actor': actor, 'have_user': have_user} only %}
{% endfor %}
{% else %}
<h1>{% trans %}No actors here.{% endtrans %}</h1>
@ -114,4 +114,4 @@
</div>
{% endblock body %}
{% block javascripts %}{% endblock %}
{% block javascripts %}{% endblock %}

View File

@ -102,7 +102,7 @@
<div class="groups">
{% if groups is defined and groups is not empty %}
{% for group in groups %}
{% include '/directory/group.html.twig' with {'group': group, 'have_user': have_user} only %}
{% include 'directory/group.html.twig' with {'group': group, 'have_user': have_user} only %}
{% endfor %}
{% else %}
<h1>{% trans %}No groups here.{% endtrans %}</h1>