summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-09-01 17:49:22 -0400
committerMicah Lee <micah@micahflee.com>2019-09-01 17:49:22 -0400
commit328b1500abc105b029b1944304399b51b13a57ea (patch)
tree9cc38d2274c6b597cfc268469b32515c918da74c /share
parent4dd26f6d1655a1e437b3a16739f873a0df18614b (diff)
parent2604ef52b51424c42c2a06212ab745242de0fa58 (diff)
downloadonionshare-328b1500abc105b029b1944304399b51b13a57ea.tar.gz
onionshare-328b1500abc105b029b1944304399b51b13a57ea.zip
Merge branch 'share-code' of https://github.com/hiromipaw/onionshare into hiromipaw-share-code
Diffstat (limited to 'share')
-rw-r--r--share/templates/send.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/share/templates/send.html b/share/templates/send.html
index e0076c0f..490fddf4 100644
--- a/share/templates/send.html
+++ b/share/templates/send.html
@@ -28,24 +28,27 @@
<th id="size-header">Size</th>
<th></th>
</tr>
- {% for info in file_info.dirs %}
+ {% for info in dirs %}
<tr>
<td>
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_folder.png" />
- {{ info.basename }}
+ <a href="{{ info.basename }}">
+ {{ info.basename }}
+ </a>
</td>
- <td>{{ info.size_human }}</td>
- <td></td>
+ <td>&mdash;</td>
</tr>
{% endfor %}
- {% for info in file_info.files %}
+
+ {% for info in files %}
<tr>
<td>
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_file.png" />
- {{ info.basename }}
+ <a href="{{ info.basename }}">
+ {{ info.basename }}
+ </a>
</td>
<td>{{ info.size_human }}</td>
- <td></td>
</tr>
{% endfor %}
</table>