yammat/templates/supplier.hamlet

15 lines
422 B
Text
Raw Normal View History

2015-10-11 18:07:12 +00:00
$doctype 5
$forall (Entity sId sup) <- sups
<article .article>
$if supplierAvatar sup /= Nothing
<a href=@{SupplierActionsR sId} style="background-image: url(@{GetAvatarR $ fromJust $ supplierAvatar sup})" .avatar>
<p>#{supplierIdent sup}
$else
<a href=@{SupplierActionsR sId}>
<p>#{supplierIdent sup}
2016-06-04 13:53:51 +00:00
<article .article #func>
<a href=@{NewSupplierR}>
<p>_{MsgCreateSupplier}