mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-18 11:10:29 +00:00
14 lines
866 B
Handlebars
14 lines
866 B
Handlebars
<section class="pi-item pi-smart-group pi-border-color">
|
|
{{#if renderLabels}}
|
|
<section class="pi-smart-group-head">
|
|
{{#each data}}
|
|
<{{#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}}>
|
|
{{/each}}
|
|
</section>
|
|
{{/if}}
|
|
<section class="pi-smart-group-body">
|
|
{{#each data}}
|
|
<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>
|
|
{{/each}}
|
|
</section>
|
|
</section> |