{% extends "base.html" %} {% block title %}{{ info.file.name }} - transbeam{% endblock %} {% block og_title %}{{ info.file.name }}{% endblock %} {% block og_description -%} {% let formatted_total_size = info.file.formatted_size() -%} {% match info.file.contents -%} {% when Some with (files) -%} {{ files.files.len() }} files, {{ formatted_total_size }} total {%- else -%} {{ formatted_total_size }} {%- endmatch %}, expires {{ info.file.expiry.format(DATE_DISPLAY_FORMAT).unwrap() }} {%- endblock %} {% block relative_path %}download?code={{ info.code }}{% endblock %} {% block head %} {% endblock %} {% block body %}
{{ info.file.name }}
{{ info.file.formatted_size() }}
Expires {{ info.file.expiry.format(DATE_DISPLAY_FORMAT).unwrap() }}
{% match info.file.contents %} {% when Some with (files) %}
Show file list {% let offsets = info.offsets.as_ref().unwrap() %} {% for f in files.files %} {% endfor %}
{{ f.formatted_size() }} {{ f.name }}
{% else %} {% endmatch %} {% endblock %}