forked from GNUsocial/gnu-social
[Directory] Move templates from core to plugin
This commit is contained in:
parent
8c6881f526
commit
f4e40002a4
@ -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