5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 04:46:22 +00:00

Merge remote-tracking branch 'origin/issue-16080' into panel.testing.sutty.nl

This commit is contained in:
f 2024-05-18 11:28:46 -03:00
commit 23d253d589
No known key found for this signature in database
4 changed files with 6 additions and 4 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: