ui: Add copyable IDs to the Role and Policy views
This commit is contained in:
parent
17a86be022
commit
d010d1b6d0
|
@ -42,6 +42,16 @@
|
|||
</h1>
|
||||
</BlockSlot>
|
||||
<BlockSlot @name="content">
|
||||
{{#if (not create) }}
|
||||
<div class="definition-table">
|
||||
<dl>
|
||||
<dt>Policy ID</dt>
|
||||
<dd>
|
||||
<CopyButton @value={{item.ID}} @name="Policy ID" @position="top-start" /> {{item.ID}}
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (eq (policy/typeof item) 'policy-management')}}
|
||||
{{ partial 'dc/acls/policies/view'}}
|
||||
{{else}}
|
||||
|
|
|
@ -38,6 +38,16 @@
|
|||
</h1>
|
||||
</BlockSlot>
|
||||
<BlockSlot @name="content">
|
||||
{{#if (not create) }}
|
||||
<div class="definition-table">
|
||||
<dl>
|
||||
<dt>Role ID</dt>
|
||||
<dd>
|
||||
<CopyButton @value={{item.ID}} @name="Role ID" @position="top-start" /> {{item.ID}}
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{ partial 'dc/acls/roles/form'}}
|
||||
</BlockSlot>
|
||||
</AppView>
|
Loading…
Reference in New Issue