unify bootstrap icon names in a data type
This commit is contained in:
parent
f75ac910c4
commit
690b424cad
2 changed files with 20 additions and 12 deletions
|
@ -4,16 +4,16 @@
|
|||
$maybe h <- renderAlertHeader alert
|
||||
$if block
|
||||
<h4 .alert-heading>
|
||||
$maybe name <- alertIcon alert
|
||||
<i .icon-#{name}></i> #
|
||||
$maybe i <- alertIcon alert
|
||||
<i .icon-#{bootstrapIcon i}></i> #
|
||||
#{h}
|
||||
$else
|
||||
$maybe name <- alertIcon alert
|
||||
<i .icon-#{name}></i> #
|
||||
$maybe i <- alertIcon alert
|
||||
<i .icon-#{bootstrapIcon i}></i> #
|
||||
<strong>#{h}</strong> #
|
||||
$nothing
|
||||
$maybe name <- alertIcon alert
|
||||
<i .icon-#{name}></i> #
|
||||
$maybe i <- alertIcon alert
|
||||
<i .icon-#{bootstrapIcon i}></i> #
|
||||
#{renderAlertMessage alert}
|
||||
$maybe button <- alertButton alert
|
||||
<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue