[Directory] Move templates from core to plugin
This commit is contained in:
parent
ed59cce0f9
commit
a220d07b0f
@ -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 %}
|
@ -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>
|
Loading…
Reference in New Issue
Block a user