Skip to content

Commit d2001ef

Browse files
committed
Add header to alert template
1 parent 95085ea commit d2001ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • ContentBlocks/ContentElements/bootstrap-alert/templates

ContentBlocks/ContentElements/bootstrap-alert/templates/frontend.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<div id="c{data.uid}" class="alert alert-{data.bootstrap_theme_color}{f:if(condition: data.bootstrap_dismissible, then: ' alert-dismissible fade show')}" role="alert">
2+
<div class="fw-bold">{data.header}</div>
23
<f:format.raw>{data.bodytext}</f:format.raw>
34
<f:if condition="{data.sk_bootstrapalert_dismissible}">
45
<button type="button" class="btn-close" data-bs-dismiss="alert" title="{f:translate(key:'LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.dismissible.aria.close')}" aria-label="{f:translate(key:'LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.dismissible.aria.close')}"></button>

0 commit comments

Comments
 (0)