Snippets for book previews, username links, avatars
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<div id="sidebar">
|
||||
<div class="user-profile">
|
||||
<h2>
|
||||
<img class="user-pic" src="{% if user.avatar %}/images/{{ user.avatar }}{% else %}/static/images/default_avi.jpg{% endif %}">
|
||||
{% include 'snippets/avatar.html' with user=user %}
|
||||
{% if user.name %}{{ user.name }}{% endif %}
|
||||
<small>{{ user.username }}</small>
|
||||
</h2>
|
||||
|
Reference in New Issue
Block a user