5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-20 12:30:49 +00:00

Merge branch 'issue-16080' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl

This commit is contained in:
f 2024-05-02 15:26:19 -03:00
commit a5644c8f88
No known key found for this signature in database
4 changed files with 12 additions and 0 deletions

View file

@ -1,4 +1,6 @@
.form-group{ data: { controller: 'file-preview' } }
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
- if metadata.static_file
- case metadata.static_file.blob.content_type
- when %r{\Avideo/}

View file

@ -1,4 +1,6 @@
.form-group{ data: { controller: 'file-preview' } }
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
- if metadata.static_file
= image_tag url_for(metadata.static_file),
alt: metadata.value['description'],

View file

@ -745,6 +745,10 @@ en:
image:
label: Image
destroy: Remove image
logo:
label: Logo
download:
label: Archivo
belongs_to:
empty: "(Empty)"
predefined_value:

View file

@ -753,6 +753,10 @@ es:
image:
label: Imagen
destroy: 'Eliminar imagen'
logo:
label: Logo
download:
label: Archivo
belongs_to:
empty: "(Vacío)"
predefined_value: