mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 03:46:21 -04:00
Fix building the URL in CLI mode, and removing the slug from the download button in share mode
This commit is contained in:
parent
7dce7eec45
commit
3ab99dbf3b
3 changed files with 20 additions and 28 deletions
|
@ -15,11 +15,7 @@
|
|||
<div class="right">
|
||||
<ul>
|
||||
<li>Total size: <strong>{{ filesize_human }}</strong> {% if is_zipped %} (compressed){% endif %}</li>
|
||||
{% if slug %}
|
||||
<li><a class="button" href='/{{ slug }}/download'>Download Files</a></li>
|
||||
{% else %}
|
||||
<li><a class="button" href='/download'>Download Files</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<img class="logo" src="/static/img/logo.png" title="OnionShare">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue