mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 15:01:50 +00:00
Merge branch 'issue-16080' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl
This commit is contained in:
commit
a5644c8f88
4 changed files with 12 additions and 0 deletions
|
@ -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/}
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -745,6 +745,10 @@ en:
|
|||
image:
|
||||
label: Image
|
||||
destroy: Remove image
|
||||
logo:
|
||||
label: Logo
|
||||
download:
|
||||
label: Archivo
|
||||
belongs_to:
|
||||
empty: "(Empty)"
|
||||
predefined_value:
|
||||
|
|
|
@ -753,6 +753,10 @@ es:
|
|||
image:
|
||||
label: Imagen
|
||||
destroy: 'Eliminar imagen'
|
||||
logo:
|
||||
label: Logo
|
||||
download:
|
||||
label: Archivo
|
||||
belongs_to:
|
||||
empty: "(Vacío)"
|
||||
predefined_value:
|
||||
|
|
Loading…
Reference in a new issue