[Directory] Move templates from core to plugin

This commit is contained in:
Hugo Sales 2021-04-15 11:40:48 +00:00
parent ed59cce0f9
commit a220d07b0f
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
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>