2021-04-12 13:35:50 +03:00
|
|
|
<header class="modal-header">
|
2021-04-12 15:09:24 +03:00
|
|
|
<h1>Change user role</h1>
|
2021-04-12 13:35:50 +03:00
|
|
|
</header>
|
|
|
|
<a class="close" href="" role="button" title="Close" {{on "click" this.close}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
|
|
|
|
|
|
|
<div class="modal-body" {{did-insert this.setRoleFromModel}}>
|
|
|
|
<GhRoleSelection
|
|
|
|
@selected={{this.role}}
|
|
|
|
@setRole={{fn (mut this.role)}}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button {{on "click" this.close}} class="gh-btn"><span>Cancel</span></button>
|
2021-04-12 15:09:24 +03:00
|
|
|
<button {{on "click" this.confirmAction}} class="gh-btn gh-btn-black"><span>Change role</span></button>
|
2021-04-12 13:35:50 +03:00
|
|
|
</div>
|