yammat/templates/avatars.hamlet
2016-06-04 15:53:51 +02:00

18 lines
352 B
Text

$doctype 5
<h3>
Avatars
$if null avatars
<h3>
<p>
_{MsgNoAvatars}
$else
$forall (Entity aId avatar) <- avatars
<article .article>
<a href=@{ModifyAvatarR aId} style="background-image: url(@{GetAvatarR aId})" .avatar>
<p>#{avatarIdent avatar}
<article .article #func>
<a href=@{NewAvatarR}>
<p>_{MsgNewAvatar}