Add link to original screenshot in edit screenshot page

This commit is contained in:
rubenwardy
2018-07-28 16:05:09 +01:00
parent c298f64295
commit 1c7a192854
2 changed files with 11 additions and 5 deletions

View File

@@ -5,7 +5,9 @@
{% endblock %}
{% block content %}
<img src="{{ screenshot.getThumbnailURL() }}" alt="{{ screenshot.title }}" />
<a href="{{ screenshot.url }}">
<img src="{{ screenshot.getThumbnailURL() }}" alt="{{ screenshot.title }}" />
</a>
{% from "macros/forms.html" import render_field, render_submit_field %}
<form method="POST" action="" enctype="multipart/form-data">