mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 00:03:24 +00:00
Merge pull request #778 from ae-utbm/user-search-privacy
User search privacy
This commit is contained in:
commit
e6db25357b
@ -10,9 +10,11 @@
|
|||||||
<h4>{% trans %}Users{% endtrans %}</h4>
|
<h4>{% trans %}Users{% endtrans %}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
{% for i in result.users %}
|
{% for i in result.users %}
|
||||||
<li>
|
{% if user.can_view(i) %}
|
||||||
{{ user_link_with_pict(i) }}
|
<li>
|
||||||
</li>
|
{{ user_link_with_pict(i) }}
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<h4>{% trans %}Clubs{% endtrans %}</h4>
|
<h4>{% trans %}Clubs{% endtrans %}</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user