yammat/templates/avatars.hamlet
2015-10-12 02:09:39 +02:00

22 lines
438 B
Text
Executable file

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