[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"> <div class="actors">
{% if actors is defined and actors is not empty %} {% if actors is defined and actors is not empty %}
{% for actor in actors %} {% 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 %} {% endfor %}
{% else %} {% else %}
<h1>{% trans %}No actors here.{% endtrans %}</h1> <h1>{% trans %}No actors here.{% endtrans %}</h1>
@ -114,4 +114,4 @@
</div> </div>
{% endblock body %} {% endblock body %}
{% block javascripts %}{% endblock %} {% block javascripts %}{% endblock %}

View File

@ -102,7 +102,7 @@
<div class="groups"> <div class="groups">
{% if groups is defined and groups is not empty %} {% if groups is defined and groups is not empty %}
{% for group in groups %} {% 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 %} {% endfor %}
{% else %} {% else %}
<h1>{% trans %}No groups here.{% endtrans %}</h1> <h1>{% trans %}No groups here.{% endtrans %}</h1>