5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 22:45:44 +00:00

descargar el archivo subido

This commit is contained in:
f 2020-02-20 13:02:34 -03:00
parent 5392f9a942
commit a43080a368
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
3 changed files with 8 additions and 1 deletions

View file

@ -2,4 +2,5 @@
%th= post_label_t(attribute, :path, post: post) %th= post_label_t(attribute, :path, post: post)
%td %td
- if metadata.value['path'].present? - 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']

View file

@ -347,6 +347,9 @@ en:
en: 'English' en: 'English'
ar: 'Arabic' ar: 'Arabic'
posts: posts:
attribute_ro:
file:
download: Download file
show: show:
front_matter: Post metadata front_matter: Post metadata
submit: submit:

View file

@ -355,6 +355,9 @@ es:
en: 'inglés' en: 'inglés'
ar: 'árabe' ar: 'árabe'
posts: posts:
attribute_ro:
file:
download: Descargar archivo
show: show:
front_matter: Metadatos del artículo front_matter: Metadatos del artículo
submit: submit: