mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
9ee30c08d6
* ui: Various CSS amends 1. Split out %icon-definition from %composite-row 2. Add hover effect to node listing 3. Fix up proxy level list components 4. Rename our various pills to use a 100-900 scale 5. Reogranize other icon related things (consul-kind and consul-external-source) * Fix up upstream test
18 lines
524 B
Handlebars
18 lines
524 B
Handlebars
{{#if item}}
|
|
{{#let (service/external-source item) as |externalSource|}}
|
|
{{#if externalSource}}
|
|
<span data-test-external-source={{externalSource}} class="consul-external-source {{externalSource}}">
|
|
{{#if label}}
|
|
{{label}}
|
|
{{else}}
|
|
{{#if (eq externalSource 'aws')}}
|
|
Registered via {{uppercase externalSource}}
|
|
{{else}}
|
|
Registered via {{capitalize externalSource}}
|
|
{{/if}}
|
|
{{/if}}
|
|
</span>
|
|
{{/if}}
|
|
{{/let}}
|
|
{{/if}}
|