UX: Clarify user rejection modal (#11967)
This commit is contained in:
parent
c307604d7f
commit
0fb1c122f4
|
@ -12,8 +12,6 @@
|
|||
{{/d-modal-body}}
|
||||
|
||||
<div class="modal-footer">
|
||||
{{d-button action=(route-action "closeModal") label="close"}}
|
||||
<div class="pull-right">
|
||||
{{d-button icon="trash-alt" class="btn-danger" action=(action "perform")}}
|
||||
</div>
|
||||
{{d-button icon="trash-alt" class="btn-danger" action=(action "perform") label="admin.user.delete"}}
|
||||
{{d-button action=(route-action "closeModal") label="cancel"}}
|
||||
</div>
|
||||
|
|
|
@ -49,7 +49,7 @@ acceptance("Review", function (needs) {
|
|||
"it opens reject reason modal when user is rejected"
|
||||
);
|
||||
|
||||
await click(".modal-footer button[aria-label='Close']");
|
||||
await click(".modal-footer button[aria-label='cancel']");
|
||||
|
||||
await click(
|
||||
`${user} .reviewable-actions button[data-name="Delete User..."]`
|
||||
|
|
|
@ -167,16 +167,16 @@
|
|||
align-items: center;
|
||||
padding: 14px 15px 10px;
|
||||
border-top: 1px solid var(--primary-low);
|
||||
--btn-bottom-margin: 0.3em;
|
||||
.btn {
|
||||
margin: 0 0.3em 0 0;
|
||||
margin: 0 0.75em var(--btn-bottom-margin) 0;
|
||||
&[href] {
|
||||
min-height: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.btn,
|
||||
a {
|
||||
margin-bottom: 0.3em;
|
||||
margin-bottom: var(--btn-bottom-margin);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue