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",
|
"Ok": "Ok",
|
||||||
"Save": "Save",
|
"Save": "Save",
|
||||||
"Download": "Download",
|
"Download": "Download",
|
||||||
"Delete": "Delete",
|
"Close": "Close",
|
||||||
"NotSelected": "Not selected",
|
"NotSelected": "Not selected",
|
||||||
"Deselect": "Deselect",
|
"Deselect": "Deselect",
|
||||||
"AddSocialLinks": "Add social links"
|
"AddSocialLinks": "Add social links"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"Ok": "Ок",
|
"Ok": "Ок",
|
||||||
"Save": "Сохранить",
|
"Save": "Сохранить",
|
||||||
"Download": "Загрузить",
|
"Download": "Загрузить",
|
||||||
"Delete": "Удалить",
|
"Close": "Закрыть",
|
||||||
"NotSelected": "Не выделено",
|
"NotSelected": "Не выделено",
|
||||||
"Deselect": "Снять выделение",
|
"Deselect": "Снять выделение",
|
||||||
"AddSocialLinks": "Добавить контактную информацию"
|
"AddSocialLinks": "Добавить контактную информацию"
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
<div class="pdfviewer-footer">
|
<div class="pdfviewer-footer">
|
||||||
<div class="flex-row-reverse">
|
<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>
|
<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>
|
</div>
|
||||||
{#if contentType && contentType.startsWith('image/') }
|
{#if contentType && contentType.startsWith('image/') }
|
||||||
<div class="img-nav">
|
<div class="img-nav">
|
||||||
|
@ -34,7 +34,7 @@ export default plugin(presentationId, {
|
|||||||
Ok: '' as IntlString,
|
Ok: '' as IntlString,
|
||||||
Save: '' as IntlString,
|
Save: '' as IntlString,
|
||||||
Download: '' as IntlString,
|
Download: '' as IntlString,
|
||||||
Delete: '' as IntlString,
|
Close: '' as IntlString,
|
||||||
NotSelected: '' as IntlString,
|
NotSelected: '' as IntlString,
|
||||||
Deselect: '' as IntlString,
|
Deselect: '' as IntlString,
|
||||||
AddSocialLinks: '' as IntlString
|
AddSocialLinks: '' as IntlString
|
||||||
|
Loading…
Reference in New Issue
Block a user