chg: cleanup formating

pull/497/head
Raphaël Vinot 2022-08-14 17:14:48 +02:00
parent d97ed26054
commit d6dc30b260
2 changed files with 2 additions and 6 deletions

View File

@ -925,9 +925,6 @@ class Lookyloo():
url.add_feature('downloaded_filename', filename)
url.add_feature('downloaded_filesize', data.getbuffer().nbytes)
if not url.empty_response:
# Index lookup
# %%% Full body %%%

View File

@ -183,10 +183,9 @@
{{ popup_icons_response(url['url_object'], tree_uuid) }}
{% if url['url_object'].has_dl_file %}
<a href="{{ url_for('data', tree_uuid=tree_uuid)}}">
<a href="{{ url_for('data', tree_uuid=tree_uuid)}}">
Download {{url['url_object'].downloaded_filename}}
</a>
({{sizeof_fmt(url['url_object'].downloaded_filesize)}})
</a> ({{sizeof_fmt(url['url_object'].downloaded_filesize)}})
{% else %}
{% if url['url_object'].rendered_html %}
<a href="{{ url_for('urlnode_rendered_content', tree_uuid=tree_uuid, node_uuid=url['url_object'].uuid) }}">