From 0a9cf94d698b0b785d08f372bd27f3e3b177a9c0 Mon Sep 17 00:00:00 2001 From: llj Date: Wed, 16 Dec 2015 15:26:08 +0800 Subject: [PATCH] [view shared dir] 'grid view': bugfix for thumbnail check --- seahub/templates/view_shared_dir.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/templates/view_shared_dir.html b/seahub/templates/view_shared_dir.html index e2c91a0452..9a958713e0 100644 --- a/seahub/templates/view_shared_dir.html +++ b/seahub/templates/view_shared_dir.html @@ -113,7 +113,7 @@ {% for dirent in file_list %}
  • - {% if dirent.allow_generate_thumbnail %} + {% if dirent.is_img %} {% if dirent.encoded_thumbnail_src %} {% else %}