[COMPONENT][Search] Use correct template for displaying actors
This commit is contained in:
parent
bc3e6ac704
commit
659ea5cd1f
@ -25,12 +25,12 @@
|
|||||||
<div class="h-feed hfeed notes">
|
<div class="h-feed hfeed notes">
|
||||||
{% if notes is defined and notes is not empty %}
|
{% if notes is defined and notes is not empty %}
|
||||||
{% for note in notes %}
|
{% for note in notes %}
|
||||||
{% block current_note %}
|
{% block current_note %}
|
||||||
<div class="section-widget">
|
<div class="section-widget">
|
||||||
{{ noteView.macro_note(note) }}
|
{{ noteView.macro_note(note) }}
|
||||||
<hr tabindex="0" title="{{ 'End of note and replies.' | trans }}">
|
<hr tabindex="0" title="{{ 'End of note and replies.' | trans }}">
|
||||||
</div>
|
</div>
|
||||||
{% endblock current_note %}
|
{% endblock current_note %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
<div id="empty-notes"><h1>{% trans %}No notes here.{% endtrans %}</h1></div>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
{% for actor in actors %}
|
{% for actor in actors %}
|
||||||
{% include 'actor/view.html.twig' with {'actor': actor} %}
|
{% include 'cards/profile/view.html.twig' with {'actor': actor} %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{{ "Page: " ~ page }}
|
{{ "Page: " ~ page }}
|
||||||
|
Loading…
Reference in New Issue
Block a user