Social info only for auth users
This commit is contained in:
parent
7ca4f983f2
commit
326e156cd8
|
@ -37,6 +37,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui four wide column right aligned">
|
<div class="ui four wide column right aligned">
|
||||||
|
{% if user.is_authenticated %}
|
||||||
{% get_social_accounts this_user as accounts %}
|
{% get_social_accounts this_user as accounts %}
|
||||||
{% if accounts %}
|
{% if accounts %}
|
||||||
<h2>{% trans "Contact me in:" %}</h2>
|
<h2>{% trans "Contact me in:" %}</h2>
|
||||||
|
@ -53,6 +54,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if user.pk == this_user.pk %}
|
{% if user.pk == this_user.pk %}
|
||||||
<div class="sixteen wide column">
|
<div class="sixteen wide column">
|
||||||
|
|
Loading…
Reference in New Issue