mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 05:06:21 +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,5 +1,4 @@
|
|||
.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
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
.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),
|
||||
|
|
|
@ -745,6 +745,8 @@ en:
|
|||
image:
|
||||
label: Image
|
||||
destroy: Remove image
|
||||
audio:
|
||||
label: Audio file
|
||||
logo:
|
||||
label: Logo
|
||||
download:
|
||||
|
|
|
@ -755,6 +755,8 @@ es:
|
|||
destroy: 'Eliminar imagen'
|
||||
logo:
|
||||
label: Logo
|
||||
audio:
|
||||
label: Audio
|
||||
download:
|
||||
label: Archivo
|
||||
belongs_to:
|
||||
|
|
Loading…
Reference in a new issue