summaryrefslogtreecommitdiff
path: root/sublab_project/projects
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/projects')
-rw-r--r--sublab_project/projects/templates/projects/project_detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/sublab_project/projects/templates/projects/project_detail.html b/sublab_project/projects/templates/projects/project_detail.html
index 5c0a6dd..126e601 100644
--- a/sublab_project/projects/templates/projects/project_detail.html
+++ b/sublab_project/projects/templates/projects/project_detail.html
@@ -5,7 +5,7 @@
{% block content %}
<h2 id="{{ object.slug }}">Projekt: {{ object.name }}</h2>
- {% if object.image %}
+ {% if object.image.exists %}
<div class="imagecontent">
<a href="{% url project_image object.slug %}">
{% thumbnail object.image "200" upscale=False as image %}