now showing user avatars on reactivate site

This commit is contained in:
nek0 2015-07-21 11:38:33 +02:00
parent 73c1acd368
commit 323cfddb90

View file

@ -4,5 +4,9 @@ $doctype 5
$forall (Entity uId user) <- users
<article .article>
<a href=@{UserReactivateR uId}>
<p>#{userIdent user}
$if userAvatar user /= Nothing
<a href=@{UserReactivateR uId} style="background-image: url(@{GetAvatarR $ fromJust $ userAvatar user})" .avatar>
<p>#{userIdent user}
$else
<a href=@{UserReactivateR uId}>
<p>#{userIdent user}