5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 16:06:23 +00:00

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

This commit is contained in:
maki 2024-05-23 17:14:34 -03:00
commit 8349d39a71
9 changed files with 13 additions and 11 deletions

View file

@ -1,6 +1,5 @@
.form-group{ data: { controller: 'file-preview' } }
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
= 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,6 +1,5 @@
.form-group{ data: { controller: 'file-preview' } }
.label
= label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post)
= 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,8 @@ en:
image:
label: Image
destroy: Remove image
audio:
label: Audio file
logo:
label: Logo
download:

View file

@ -755,6 +755,8 @@ es:
destroy: 'Eliminar imagen'
logo:
label: Logo
audio:
label: Audio
download:
label: Archivo
belongs_to: