github.com/manicqin/nomad@v0.9.5/ui/app/templates/components/attributes-section.hbs (about)

     1  {{#each-in attributes as |key value|}}
     2    {{#if (is-object value)}}
     3      <tr data-test-attributes-section>
     4        <td data-test-heading class="is-subheading" colspan="2">
     5          {{#if prefix}}<span class="is-faded" data-test-prefix>{{prefix}}.</span>{{/if}}{{key}}
     6        </td>
     7      </tr>
     8      {{attributes-section prefix=(if prefix (concat prefix '.' key) key) attributes=value}}
     9    {{else}}
    10      <tr data-test-attributes-section>
    11        <td data-test-key>
    12          {{#if prefix}}<span class="is-faded" data-test-prefix>{{prefix}}.</span>{{/if}}
    13          {{~key}}
    14        </td>
    15        <td data-test-value title="{{value}}">{{value}}</td>
    16      </tr>
    17    {{/if}}
    18  {{/each-in}}