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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user