0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 12:31:10 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-message.hbs
2023-07-10 07:55:54 +01:00

26 Zeilen
Kein EOL
570 B
Handlebars

<div class="message-block primary">
{{#if showIcon}}
{{d-icon icon}}
{{/if}}
<span class="message-content">{{html-safe message}}</span>
{{#if hasItems}}
<ul>
{{#each items as |item|}}
<li>
<span>{{d-icon item.icon}}</span>
<span>{{html-safe item.html}}</span>
</li>
{{/each}}
</ul>
{{/if}}
</div>
{{#if showDocumentation}}
<div class="message-block">
{{d-icon "question-circle"}}
<a href={{url}} target="_blank" rel="noopener noreferrer">
{{documentation}}
</a>
</div>
{{/if}}