1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Replace download <button> by <a>

Replace download <button> by <a> on shared_file_view.html
This commit is contained in:
Eliot Berriot
2013-12-21 14:51:56 +01:00
parent b9e761f2c9
commit cc4c072473

View File

@@ -32,7 +32,7 @@
<button data="{{save_to_link}}" id="save">{% trans "Save to..."%}</button>
{% endif %}
{% endif %}
<button data="{{ SITE_ROOT }}repo/{{ repo.id }}/{{ obj_id }}/?file_name={{ file_name|urlencode }}&op=download&t={{ shared_token }}&p={{path|urlencode}}" id="download">{% trans "Download" %} ({{file_size|filesizeformat}})</button>
<a target="_blank" href="{{ SITE_ROOT }}repo/{{ repo.id }}/{{ obj_id }}/?file_name={{ file_name|urlencode }}&op=download&t={{ shared_token }}&p={{path|urlencode}}" id="download">{% trans "Download" %} ({{file_size|filesizeformat}})</a>
</div>
{% include 'snippets/file_content_html.html' %}
</div>