mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 05:16:23 +00:00
Merge remote-tracking branch 'origin/issue-16080' into panel.testing.sutty.nl
This commit is contained in:
commit
23d253d589
4 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
.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
|
||||||
- when %r{\Avideo/}
|
- when %r{\Avideo/}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
.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),
|
||||||
alt: metadata.value['description'],
|
alt: metadata.value['description'],
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue