2020-11-04 08:26:58 +01:00
|
|
|
<div class="alert alert-warning d-flex" role="alert">
|
2021-04-15 11:47:33 +02:00
|
|
|
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div>
|
|
|
|
{{ with .Get "text"}}
|
|
|
|
<div class="w-100">{{ . }} </div>
|
|
|
|
{{ else }}
|
|
|
|
{{ with .Inner}}
|
|
|
|
<div class="w-100"> {{ . | markdownify}}</div>
|
|
|
|
{{ else }}
|
|
|
|
{{ errorf "No valid text variable or Inner content given"}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end}}
|
|
|
|
</div>
|