diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-28 16:05:09 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-28 16:05:09 +0100 |
| commit | 1c7a192854f4c95f5f30e535e15d2e8a33d758f4 (patch) | |
| tree | b1aa9c96f232de400f5d841a810c950709b7a6cb /app/templates | |
| parent | c298f64295482abd1bb8c04b229cfc8a54b4f9b1 (diff) | |
| download | cheatdb-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.html | 4 |
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"> |
