add basic copy for delay in abandon appearing
This commit is contained in:
parent
0f51cf8986
commit
588b9c5e32
1 changed files with 12 additions and 9 deletions
|
@ -64,7 +64,7 @@ function ModalRemoveFile(props: Props) {
|
||||||
)}
|
)}
|
||||||
{!deleteChecked && (
|
{!deleteChecked && (
|
||||||
<p className="help">
|
<p className="help">
|
||||||
{__('This file will be removed from your Library but will remain in your Downloads folder.')}
|
{__('This file will be removed from your Library but will remain in your Downloads folder.')}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
{/* @endif */}
|
{/* @endif */}
|
||||||
|
@ -73,14 +73,17 @@ function ModalRemoveFile(props: Props) {
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
}
|
}
|
||||||
actions={
|
actions={
|
||||||
<div className="card__actions">
|
<>
|
||||||
<Button
|
<div className="section__actions">
|
||||||
button="primary"
|
<Button
|
||||||
label={__('OK')}
|
button="primary"
|
||||||
onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}
|
label={__('OK')}
|
||||||
/>
|
onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}
|
||||||
<Button button="link" label={__('Cancel')} onClick={closeModal} />
|
/>
|
||||||
</div>
|
<Button button="link" label={__('Cancel')} onClick={closeModal} />
|
||||||
|
</div>
|
||||||
|
<p className="help">{__('These changes will appear shortly.')}</p>
|
||||||
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Loading…
Reference in a new issue