aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-07-28 16:05:09 +0100
committerrubenwardy <rw@rubenwardy.com>2018-07-28 16:05:09 +0100
commit1c7a192854f4c95f5f30e535e15d2e8a33d758f4 (patch)
treeb1aa9c96f232de400f5d841a810c950709b7a6cb /app/templates
parentc298f64295482abd1bb8c04b229cfc8a54b4f9b1 (diff)
downloadcheatdb-1c7a192854f4c95f5f30e535e15d2e8a33d758f4.tar.xz
Add link to original screenshot in edit screenshot page
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/packages/screenshot_edit.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/templates/packages/screenshot_edit.html b/app/templates/packages/screenshot_edit.html
index b53c07e..fb01d09 100644
--- a/app/templates/packages/screenshot_edit.html
+++ b/app/templates/packages/screenshot_edit.html
@@ -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">