mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Update placeholder text in file-image interface (#20004)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
This commit is contained in:
5
.changeset/tidy-pants-clean.md
Normal file
5
.changeset/tidy-pants-clean.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@directus/app': patch
|
||||
---
|
||||
|
||||
Updated placeholder for file-image interface when it is disabled with no value
|
||||
@@ -135,8 +135,8 @@ const { createAllowed, updateAllowed } = useRelationPermissionsM2O(relationInfo)
|
||||
<div class="image" :class="[width, { crop }]">
|
||||
<v-skeleton-loader v-if="loading" type="input-tall" />
|
||||
|
||||
<v-notice v-else-if="disabled && !image" class="disabled-placeholder" center icon="block">
|
||||
{{ t('disabled') }}
|
||||
<v-notice v-else-if="disabled && !image" class="disabled-placeholder" center icon="hide_image">
|
||||
{{ t('no_image_selected') }}
|
||||
</v-notice>
|
||||
|
||||
<div v-else-if="image" class="image-preview" :class="{ 'is-svg': image.type && image.type.includes('svg') }">
|
||||
|
||||
@@ -472,6 +472,7 @@ import_from_url: Import File from URL
|
||||
replace_from_device: Replace File from Device
|
||||
replace_from_library: Replace File from Library
|
||||
replace_from_url: Replace File from URL
|
||||
no_image_selected: No Image Selected
|
||||
no_file_selected: No File Selected
|
||||
download_file: Download File
|
||||
open_file_in_tab: Open file in new tab
|
||||
|
||||
Reference in New Issue
Block a user