mirror of https://github.com/rancher/ui.git
copy to clipboard on node dash
This commit is contained in:
parent
b02f234a29
commit
437005dc02
|
|
@ -1,13 +1,13 @@
|
||||||
<div class="text-small {{if textMuted 'text-muted' }} clip">
|
<div class="text-small {{if textMuted 'text-muted' }} clip">
|
||||||
{{#if (and model.externalIpAddress (not-eq model.externalIpAddress model.ipAddress))}}
|
{{#if (and model.externalIpAddress (not-eq model.externalIpAddress model.ipAddress))}}
|
||||||
{{#copy-inline clipboardText=model.externalIpAddress size="small"}}
|
{{#copy-to-clipboard clipboardText=model.externalIpAddress size="small"}}
|
||||||
{{format-ip model.externalIpAddress}}
|
{{format-ip model.externalIpAddress}}
|
||||||
{{/copy-inline}}
|
{{/copy-to-clipboard}}
|
||||||
/
|
/
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if model.ipAddress}}
|
{{#if model.ipAddress}}
|
||||||
{{#copy-inline clipboardText=model.ipAddress size="small"}}
|
{{#copy-to-clipboard clipboardText=model.ipAddress size="small"}}
|
||||||
{{format-ip model.ipAddress}}
|
{{format-ip model.ipAddress}}
|
||||||
{{/copy-inline}}
|
{{/copy-to-clipboard}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue