descargar el archivo subido
This commit is contained in:
parent
5392f9a942
commit
a43080a368
3 changed files with 8 additions and 1 deletions
|
@ -2,4 +2,5 @@
|
|||
%th= post_label_t(attribute, :path, post: post)
|
||||
%td
|
||||
- if metadata.value['path'].present?
|
||||
= link_to metadata.value['description'], url_for(metadata.static_file)
|
||||
= link_to t('.download'), url_for(metadata.static_file)
|
||||
%p= metadata.value['description']
|
||||
|
|
|
@ -347,6 +347,9 @@ en:
|
|||
en: 'English'
|
||||
ar: 'Arabic'
|
||||
posts:
|
||||
attribute_ro:
|
||||
file:
|
||||
download: Download file
|
||||
show:
|
||||
front_matter: Post metadata
|
||||
submit:
|
||||
|
|
|
@ -355,6 +355,9 @@ es:
|
|||
en: 'inglés'
|
||||
ar: 'árabe'
|
||||
posts:
|
||||
attribute_ro:
|
||||
file:
|
||||
download: Descargar archivo
|
||||
show:
|
||||
front_matter: Metadatos del artículo
|
||||
submit:
|
||||
|
|
Loading…
Reference in a new issue