add profile view of a member

This commit is contained in:
2020-08-27 16:55:55 +00:00
parent c9491f4d43
commit 18d519c157
6 changed files with 82 additions and 44 deletions

View File

@@ -2,7 +2,9 @@
{# only thumb and name of member #}
{% load thumbnail %}
<a class="thumbnail member-thumb" style="width:150px;height:150px">
{% if member.image %}<img src="{{member.image | thumbnail_url:'thumb'}}" />{% endif %}
<a class="thumbnail member-thumb" href="/members/member/{{member.mailaccount}}" style="width:150px;height:150px">
{% if member.image %}
<img src="{{member.image | thumbnail_url:'thumb'}}" />
{% endif %}
<div class="thumb-layer"><div><h1>{{member.nickname}}</h1> <p>{{member.firstname}} {{member.surname}}</p></div></div>
</a>