16 lines
585 B
Plaintext
16 lines
585 B
Plaintext
$newline never
|
|
<div #alerts-1 .alerts uw-alerts>
|
|
<div .alerts__toggler>
|
|
$forall Message{..} <- mmsgs
|
|
$with icn <- maybeAttribute "data-icon" iconJS messageIcon
|
|
<div .alert .alert-#{toPathPiece messageStatus} *{icn}>
|
|
<div .alert__closer>
|
|
<div .alert__icon>
|
|
<div .alert__content>
|
|
#{messageContent}
|
|
<!--
|
|
TODO:
|
|
If a custom icon is set for this alert then add "data-icon=#{icon}" to the .alert element.
|
|
A list of available icons can be found in frontend/src/utils/alerts/alert-icons.js
|
|
-->
|