5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-15 11:00:49 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
Maki bf52d0de59 Merge branch 'issue-16080' into 'rails'
fix: campos de archivo e imagen con título #16080

See merge request sutty/sutty!257
2024-04-24 14:49:57 +00:00
maki ca683ee369 fix: traducciones faltantes #16080 2024-04-24 11:30:28 -03:00
maki 5a92c1f28c fix: campos de archivo e imagen con título #16080 2024-04-19 14:39:09 -03:00
4 changed files with 10 additions and 0 deletions

View file

@ -1,4 +1,5 @@
.form-group
= 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,5 @@
.form-group
= 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

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

View file

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