maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] [fix] Only display thumbnails if job is correct


From: David MENTRE
Subject: [Maposmatic-dev] [PATCH] [fix] Only display thumbnails if job is correctly rendered
Date: Sat, 24 Mar 2012 16:37:54 +0100

* This bug occurs with Django 1.3.
---
 www/templates/maposmatic/job.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/www/templates/maposmatic/job.html 
b/www/templates/maposmatic/job.html
index bf59aaa..5c6ba96 100644
--- a/www/templates/maposmatic/job.html
+++ b/www/templates/maposmatic/job.html
@@ -94,5 +94,5 @@
     {% endif %}
   </td>
 
-  {% if job.get_thumbnail %}<td class="thumb"><img src="{{ job.get_thumbnail 
}}" /></td>{% endif %}
+  {% if job.is_done_ok %}<td class="thumb"><img src="{{ job.get_thumbnail }}" 
/></td>{% endif %}
 </tr></tbody></table>
-- 
1.7.5.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]