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

14 lines
422 B
Text

$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}
<article .article #func>
<a href=@{NewSupplierR}>
<p>_{MsgCreateSupplier}