diff --git a/contrib/static/site.css b/contrib/static/site.css index 7fc236f..8b0be9e 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -72,6 +72,18 @@ textarea { padding: 10px 10px; } +.download_link { + display: block; + text-align: center; + font-size: 90%; + height: auto + padding: 0.5em 0; + margin: 0; + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; +} + pre { white-space: pre-wrap; align: center; diff --git a/contrib/templates/default/post.mustache b/contrib/templates/default/post.mustache index b5e11c2..36bfc41 100644 --- a/contrib/templates/default/post.mustache +++ b/contrib/templates/default/post.mustache @@ -22,6 +22,7 @@ {{#post.Attachments}}
+ {{#i18n.Translations}}{{download_prompt}}{{/i18n.Translations}} {{Filename}}
diff --git a/contrib/translations/en-US.ini b/contrib/translations/en-US.ini index 95bb12d..24cadc7 100644 --- a/contrib/translations/en-US.ini +++ b/contrib/translations/en-US.ini @@ -174,3 +174,5 @@ key_install_title=A new keypair has been generated for you. Please keep it safe cuckoo_pow=Proof of Work start_mining=Mine! +download_prompt=Download +