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">
|
||||
{{#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}}
|
||||
{{/copy-inline}}
|
||||
{{/copy-to-clipboard}}
|
||||
/
|
||||
{{/if}}
|
||||
{{#if model.ipAddress}}
|
||||
{{#copy-inline clipboardText=model.ipAddress size="small"}}
|
||||
{{#copy-to-clipboard clipboardText=model.ipAddress size="small"}}
|
||||
{{format-ip model.ipAddress}}
|
||||
{{/copy-inline}}
|
||||
{{/copy-to-clipboard}}
|
||||
{{/if}}
|
||||
</div>
|
||||
Loading…
Reference in New Issue