yammat/templates/avatars.hamlet

23 lines
438 B
Text
Raw Normal View History

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