{% extends "header.html" %}
{% load clip_filters %}
{% block content %}
<h1>Viewing clip: {{subpath}}</h1>
<p>This clip is reserved for {{ clipboard.remaining_time }}</p>
<h2>Content</h2>
<p>{{ clipboard.content }}</p>
<h2>Attached file</h2>
{% if clipboard.file %}
        <p>File: {{ clipboard.file.name|get_filename }}</p>
        <p>Size: {{ clipboard.file.size }}</p>
        <a href="{% url 'download_file' identifier=clipboard.identifier %}">Download file</a>
{% endif %}

{% endblock %}