forked from mirrors/bookwyrm
fix suggested members all appearing in a column
This commit is contained in:
parent
8708d71f4b
commit
2c399fe1aa
1 changed files with 4 additions and 5 deletions
|
@ -3,8 +3,8 @@
|
||||||
{% load humanize %}
|
{% load humanize %}
|
||||||
|
|
||||||
{% if suggested_users %}
|
{% if suggested_users %}
|
||||||
{% for user in suggested_users %}
|
|
||||||
<div class="column is-flex is-flex-grow-0">
|
<div class="column is-flex is-flex-grow-0">
|
||||||
|
{% for user in suggested_users %}
|
||||||
<div class="box has-text-centered is-shadowless has-background-white-bis m-0">
|
<div class="box has-text-centered is-shadowless has-background-white-bis m-0">
|
||||||
<a href="{{ user.local_path }}" class="has-text-black">
|
<a href="{{ user.local_path }}" class="has-text-black">
|
||||||
{% include 'snippets/avatar.html' with user=user large=True %}
|
{% include 'snippets/avatar.html' with user=user large=True %}
|
||||||
|
@ -33,10 +33,9 @@
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
|
||||||
<div >
|
|
||||||
<p>No potential members found for "{{ query }}"</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<p>No potential members found for "{{ query }}"</p><br/>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue