mirror of https://github.com/status-im/consul.git
33 lines
729 B
Handlebars
33 lines
729 B
Handlebars
<div id="meta" class="tab-section">
|
|
<div role="tabpanel">
|
|
<section class="tags">
|
|
<h3>Tags</h3>
|
|
{{#if (gt item.Tags.length 0) }}
|
|
<TagList @item={{item}} />
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
There are no tags.
|
|
</p>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</section>
|
|
<section class="metadata">
|
|
<h3>Meta</h3>
|
|
{{#if item.Meta}}
|
|
<ConsulMetadataList @items={{object-entries item.Meta}} />
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
This instance has no metadata.
|
|
</p>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</section>
|
|
</div>
|
|
</div>
|