mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 19:44:59 +03:00
Changing the Delete button to Close in PDFViewer (#1146)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
4ac8a4d80e
commit
888113f335
@ -5,7 +5,7 @@
|
||||
"Ok": "Ok",
|
||||
"Save": "Save",
|
||||
"Download": "Download",
|
||||
"Delete": "Delete",
|
||||
"Close": "Close",
|
||||
"NotSelected": "Not selected",
|
||||
"Deselect": "Deselect",
|
||||
"AddSocialLinks": "Add social links"
|
||||
|
@ -5,7 +5,7 @@
|
||||
"Ok": "Ок",
|
||||
"Save": "Сохранить",
|
||||
"Download": "Загрузить",
|
||||
"Delete": "Удалить",
|
||||
"Close": "Закрыть",
|
||||
"NotSelected": "Не выделено",
|
||||
"Deselect": "Снять выделение",
|
||||
"AddSocialLinks": "Добавить контактную информацию"
|
||||
|
@ -52,7 +52,7 @@
|
||||
<div class="pdfviewer-footer">
|
||||
<div class="flex-row-reverse">
|
||||
<a class="no-line ml-4" href={getFileUrl(file)} download={name}><Button label={presentation.string.Download} size={'small'} primary /></a>
|
||||
<Button label={presentation.string.Delete} size={'small'} />
|
||||
<Button label={presentation.string.Close} size={'small'} on:click={() => { dispatch('close') }} />
|
||||
</div>
|
||||
{#if contentType && contentType.startsWith('image/') }
|
||||
<div class="img-nav">
|
||||
|
@ -34,7 +34,7 @@ export default plugin(presentationId, {
|
||||
Ok: '' as IntlString,
|
||||
Save: '' as IntlString,
|
||||
Download: '' as IntlString,
|
||||
Delete: '' as IntlString,
|
||||
Close: '' as IntlString,
|
||||
NotSelected: '' as IntlString,
|
||||
Deselect: '' as IntlString,
|
||||
AddSocialLinks: '' as IntlString
|
||||
|
Loading…
Reference in New Issue
Block a user