0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 02:10:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-message.hbs

26 Zeilen
570 B
Handlebars

<div class="message-block primary">
{{#if showIcon}}
{{d-icon icon}}
{{/if}}
2021-04-12 16:19:53 +02:00
<span class="message-content">{{html-safe message}}</span>
{{#if hasItems}}
<ul>
{{#each items as |item|}}
<li>
<span>{{d-icon item.icon}}</span>
2021-04-12 16:19:53 +02:00
<span>{{html-safe item.html}}</span>
</li>
{{/each}}
</ul>
{{/if}}
2020-04-20 13:40:32 +02:00
</div>
{{#if showDocumentation}}
<div class="message-block">
2021-04-12 16:19:53 +02:00
{{d-icon "question-circle"}}
<a href={{url}} target="_blank" rel="noopener noreferrer">
{{documentation}}
</a>
</div>
2023-07-10 08:55:54 +02:00
{{/if}}