PortableInfobox/templates/PortableInfoboxItemData.hbs

6 lines
478 B
Handlebars
Raw Normal View History

2019-02-02 22:34:48 +00:00
<div class="pi-item pi-data pi-item-spacing pi-border-color{{#if cssClasses}} {{{cssClasses}}}{{/if}}"{{#if inlineStyles}} style="{{inlineStyles}}"{{/if}}{{#if source}} data-source="{{source}}"{{/if}}{{#if item-name}} data-item-name="{{item-name}}"{{/if}}>
2018-08-08 09:31:33 +00:00
{{#if label}}
<{{#if useHeadings}}h3{{else}}div{{/if}} class="pi-data-label pi-secondary-font">{{{label}}}</{{#if useHeadings}}h3{{else}}div{{/if}}>
2018-08-08 09:31:33 +00:00
{{/if}}
<div class="pi-data-value pi-font">{{{value}}}</div>
</div>