0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 22:32:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-message.hbs
2021-04-12 19:49:53 +05:30

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}}