John Cowen 9ee30c08d6
ui: Various CSS amends (#8708)
* 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
2020-09-22 18:20:44 +01:00

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}}