13 lines
832 B
HTML
13 lines
832 B
HTML
|
{% if include.type == "note" or include.type == "info" or include.type == "danger" or include.type == "warning" %}
|
||
|
<div class="alert alert-{{ include.type }}">
|
||
|
{% if include.type == "note" %}<span class="material-icons alert-note-icon">info</span><b>Info: </b>
|
||
|
{% elsif include.type == "info" %}<span class="material-icons alert-note-icon">check_box</span><b>Tip: </b>
|
||
|
{% elsif include.type == "danger" %}<span class="material-icons alert-note-icon">warning</span><b>Warnung: </b>
|
||
|
{% elsif include.type == "warning" %}<span class="material-icons alert-note-icon">error</span><b>Wichtig: </b>
|
||
|
{% endif %}
|
||
|
{{ include.content }}
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="alert alert-info"><span class="material-icons alert-note-icon">info</span><b>Info: </b>{{ include.content }}</div>
|
||
|
{% endif %}
|