PortableInfobox/templates/PortableInfoboxItemSmartGroup.hbs

14 lines
866 B
Handlebars
Raw Normal View History

2017-01-12 13:11:46 +00:00
<section class="pi-item pi-smart-group pi-border-color">
2018-08-08 09:31:33 +00:00
{{#if renderLabels}}
<section class="pi-smart-group-head">
{{#each data}}
2019-02-02 22:34:48 +00:00
<{{#if ../useHeadings}}h3{{else}}div{{/if}} class="pi-smart-data-label pi-data-label pi-secondary-font pi-item-spacing" style="{{{inlineStyles}}}"{{#if source}} data-source="{{source}}"{{/if}}{{#if item-name}} data-item-name="{{item-name}}"{{/if}}>{{{label}}}</{{#if ../useHeadings}}h3{{else}}div{{/if}}>
2018-08-08 09:31:33 +00:00
{{/each}}
2017-01-12 13:11:46 +00:00
</section>
2018-08-08 09:31:33 +00:00
{{/if}}
<section class="pi-smart-group-body">
{{#each data}}
2019-02-02 22:34:48 +00:00
<div class="pi-smart-data-value pi-data-value pi-font pi-item-spacing" style="{{{inlineStyles}}}"{{#if source}} data-source="{{source}}"{{/if}}{{#if item-name}} data-item-name="{{item-name}}"{{/if}}>{{{value}}}</div>
2018-08-08 09:31:33 +00:00
{{/each}}
2017-01-12 13:11:46 +00:00
</section>
2018-08-08 09:31:33 +00:00
</section>