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

26 Zeilen
610 B
Handlebars

<div class="message-block primary">
2024-11-22 16:45:50 +01:00
{{#if this.showIcon}}
{{d-icon this.icon}}
{{/if}}
2024-11-22 16:45:50 +01:00
<span class="message-content">{{html-safe this.message}}</span>
{{#if this.hasItems}}
<ul>
2024-11-22 16:45:50 +01:00
{{#each this.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>
2024-11-22 16:45:50 +01:00
{{#if this.showDocumentation}}
<div class="message-block">
2021-04-12 16:19:53 +02:00
{{d-icon "question-circle"}}
2024-11-22 16:45:50 +01:00
<a href={{this.url}} target="_blank" rel="noopener noreferrer">
{{this.documentation}}
</a>
</div>
2023-07-10 08:55:54 +02:00
{{/if}}