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

26 Zeilen
536 B
Handlebars

<div class="message-block primary">
{{#if showIcon}}
{{d-icon icon}}
{{/if}}
<span class="message-content">{{{message}}}</span>
{{#if hasItems}}
<ul>
{{#each items as |item|}}
<li>
<span>{{d-icon item.icon}}</span>
<span>{{{item.html}}}</span>
</li>
{{/each}}
</ul>
{{/if}}
2020-04-20 13:40:32 +02:00
</div>
{{#if showDocumentation}}
<div class="message-block">
{{d-icon 'question-circle'}}
<a href={{url}} target="_blank">
{{documentation}}
</a>
</div>
{{/if}}