openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b545f73e08350adc733b6e56d1665270fd23df09
parent 306b4c2805cf00c07144a0c9e244f4d46726648c
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Tue,  8 Sep 2020 16:24:38 +0300

show avatar in profile

Diffstat:
Mii-node/tpl/profile.tpl | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ii-node/tpl/profile.tpl b/ii-node/tpl/profile.tpl @@ -1,6 +1,7 @@ {{template "header.tpl" $}} <table id="profile" cellspacing=0 cellpadding=0> +{{if has_avatar .User.Name}}<img class="avatar" src="/avatar/{{.User.Name}}">{{end}} <tr class="odd"><td>Login:</td><td>{{.User.Name}}</td></tr> <tr class="even"><td>Auth:</td><td>{{.User.Secret}}</td></tr> <tr class="odd"><td>e-mail:</td><td>{{.User.Mail}}</td></tr>