2019-11-24 14:32:58 +08:00
|
|
|
<div class="user-panel mt-3 mb-3 {{ badges|length > 0 ? 'pb-2' }}">
|
|
|
|
<div class="d-flex">
|
|
|
|
<div class="image">
|
|
|
|
<img src="{{ avatar }}" class="img-circle elevation-2" alt="User Image">
|
|
|
|
</div>
|
|
|
|
<div class="info">
|
2019-11-30 12:01:17 +08:00
|
|
|
<a class="d-block" data-mark="nickname">{{ user.nickname ?? user.email }}</a>
|
2019-11-24 14:32:58 +08:00
|
|
|
</div>
|
2019-09-17 23:10:44 +08:00
|
|
|
</div>
|
|
|
|
|
2019-12-08 09:59:34 +08:00
|
|
|
<div class="mt-3 ml-2 mr-2 d-flex flex-wrap">
|
2019-09-17 23:10:44 +08:00
|
|
|
{% for badge in badges %}
|
2019-11-24 14:32:58 +08:00
|
|
|
<span class="badge bg-{{ badge[1] }} mb-1">{{ badge[0] }}</span>
|
2019-09-17 23:10:44 +08:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
</div>
|