2020-01-28 05:31:34 +00:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% block content %}
|
2020-09-30 18:33:15 +00:00
|
|
|
<div class="block">
|
|
|
|
<h2 class="title">User search results</h2>
|
2020-09-30 18:23:23 +00:00
|
|
|
{% if not results %}
|
|
|
|
<p>No results found for "{{ query }}"</p>
|
|
|
|
{% endif %}
|
2020-01-28 05:31:34 +00:00
|
|
|
{% for result in results %}
|
2020-10-14 16:19:23 +00:00
|
|
|
{{ result }}
|
2020-09-30 18:33:15 +00:00
|
|
|
<div class="block">
|
|
|
|
{% include 'snippets/avatar.html' with user=result %}</h2>
|
|
|
|
{% include 'snippets/username.html' with user=result show_full=True %}</h2>
|
2020-02-22 20:57:13 +00:00
|
|
|
{% include 'snippets/follow_button.html' with user=result %}
|
2020-01-29 19:45:19 +00:00
|
|
|
</div>
|
2020-01-28 05:31:34 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|