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/components/wizard-message.hbs
2024-11-22 16:45:50 +01:00

26 Zeilen
Kein EOL
610 B
Handlebars

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