5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 12:26:22 +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,5 +1,4 @@
.form-group{ data: { controller: 'file-preview' } } .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 - if metadata.static_file
- case metadata.static_file.blob.content_type - case metadata.static_file.blob.content_type

View file

@ -1,5 +1,4 @@
.form-group{ data: { controller: 'file-preview' } } .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 - if metadata.static_file
= image_tag url_for(metadata.static_file), = image_tag url_for(metadata.static_file),

View file

@ -745,6 +745,8 @@ en:
image: image:
label: Image label: Image
destroy: Remove image destroy: Remove image
audio:
label: Audio file
logo: logo:
label: Logo label: Logo
download: download:

View file

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