forked from verdnatura/salix-front
perf: Dms buttons tooltip
This commit is contained in:
parent
0e8106af17
commit
2d2fff1bf3
|
@ -383,10 +383,30 @@ function shouldRenderButton(button, isExternal = false) {
|
|||
<VnDmsImportForm @on-data-saved="dmsRef.fetch()" />
|
||||
</QDialog>
|
||||
<QPageSticky position="bottom-right" :offset="[25, 25]">
|
||||
<QBtn fab color="primary" icon="add" @click="showFormDialog()" />
|
||||
<QBtn
|
||||
fab
|
||||
color="primary"
|
||||
icon="publish"
|
||||
@click="showFormDialog()"
|
||||
class="fill-icon"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Import from existing') }}
|
||||
</QTooltip>
|
||||
</QBtn>
|
||||
</QPageSticky>
|
||||
<QPageSticky v-if="allowImport" position="bottom-right" :offset="[25, 90]">
|
||||
<QBtn fab color="primary" icon="file_copy" @click="showImportDialog = true" />
|
||||
<QBtn
|
||||
fab
|
||||
color="primary"
|
||||
icon="file_copy"
|
||||
@click="showImportDialog = true"
|
||||
class="fill-icon"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Upload file') }}
|
||||
</QTooltip>
|
||||
</QBtn>
|
||||
</QPageSticky>
|
||||
</template>
|
||||
<style scoped>
|
||||
|
@ -404,4 +424,7 @@ en:
|
|||
es:
|
||||
contentTypesInfo: Tipos de archivo permitidos {allowedContentTypes}
|
||||
Generate identifier for original file: Generar identificador para archivo original
|
||||
</i18n>
|
||||
Upload file: Subir fichero
|
||||
Import from existing: Importar desde existente
|
||||
|
||||
</i18n>
|
||||
|
|
Loading…
Reference in New Issue