diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet index 73e7e7ded6..ee15f16219 100644 --- a/templates/sidebar/alert.hamlet +++ b/templates/sidebar/alert.hamlet @@ -4,21 +4,18 @@ $maybe h <- renderAlertHeader alert $if block

- $case alertIcon alert - $of Nothing - $of Just name - # + $maybe name <- alertIcon alert + # #{h} $else - $case alertIcon alert - $of Nothing - $of Just name - # + $maybe name <- alertIcon alert + # #{h} # + $nothing + $maybe name <- alertIcon alert + # #{renderAlertMessage alert} - $case alertButton alert - $of Nothing - $of Just button -
- - #{buttonLabel button} + $maybe button <- alertButton alert +
+
+ #{buttonLabel button}