diff --git a/app/views/posts/attributes/_file.haml b/app/views/posts/attributes/_file.haml index 9ad3689f..0287366c 100644 --- a/app/views/posts/attributes/_file.haml +++ b/app/views/posts/attributes/_file.haml @@ -1,6 +1,5 @@ .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 - case metadata.static_file.blob.content_type - when %r{\Avideo/} diff --git a/app/views/posts/attributes/_image.haml b/app/views/posts/attributes/_image.haml index 3bc0802d..a0bfebde 100644 --- a/app/views/posts/attributes/_image.haml +++ b/app/views/posts/attributes/_image.haml @@ -1,6 +1,5 @@ .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 = image_tag url_for(metadata.static_file), alt: metadata.value['description'], diff --git a/config/locales/en.yml b/config/locales/en.yml index 7f5a06a1..79916a79 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -745,6 +745,8 @@ en: image: label: Image destroy: Remove image + audio: + label: Audio file logo: label: Logo download: diff --git a/config/locales/es.yml b/config/locales/es.yml index e880ae92..87202ce5 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -755,6 +755,8 @@ es: destroy: 'Eliminar imagen' logo: label: Logo + audio: + label: Audio download: label: Archivo belongs_to: diff --git a/public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json b/public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json index b3cb63ee..f8cf774b 100644 --- a/public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json +++ b/public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:34f339a783dbbfd8aac49cb0d9a9ff6ed883fa8173d23d098ed434ee501fd6a3 +oid sha256:a9843288f5a7c195c31ca4bd4e8ce8e48c05b42a79efb5bb27232d311a9a072d size 11156 diff --git a/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css b/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css new file mode 100644 index 00000000..f00dc228 --- /dev/null +++ b/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd3d4a89d43caf601fa759a513f49aa0747c60e9150651a04c26d0fd860c0cc9 +size 238892 diff --git a/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css.gz b/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css.gz new file mode 100644 index 00000000..bde68d8f --- /dev/null +++ b/public/assets/application-66970ebaf46dd4256bcad9e73d5873abc104a84e04250f65e97902e27f4384ff.css.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:634e5c385d13e91be408691a232d23c0400b81a2ad143d7c0937c1362b0e18e0 +size 33084 diff --git a/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css b/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css deleted file mode 100644 index 35f61aec..00000000 --- a/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d9a0b60c18452d62be9bb14d88398124b4edee2aa76d4bb6c529b18042b62ca7 -size 238837 diff --git a/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css.gz b/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css.gz deleted file mode 100644 index 66470122..00000000 --- a/public/assets/application-df0385d47e55aa7c5b39fafd98674b63637ac6f38a896dbb79597f51adfbfdd1.css.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a72678068488f0074c34beea6297b0663e74fba1147dbd664fbc6d688cd4b814 -size 33071