diff options
Diffstat (limited to 'modules/organize/views')
-rw-r--r-- | modules/organize/views/organize_frame.html.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/organize/views/organize_frame.html.php b/modules/organize/views/organize_frame.html.php index 0354fa1d..d8e7920c 100644 --- a/modules/organize/views/organize_frame.html.php +++ b/modules/organize/views/organize_frame.html.php @@ -213,10 +213,18 @@ selectedClass: "selected", tpl: new Ext.XTemplate( '<tpl for=".">', + '<tpl if="thumb_url">', '<div class="thumb thumb-{type}" id="thumb-{id}" rel="{id}">', '<img src="{thumb_url}" width="{width}" height="{height}" title="{title}">', '<div class="icon"></div>', '</div>', + '</tpl>', + '<tpl if="!thumb_url">', + '<div class="thumb thumb-missing thumb-{type}" id="thumb-{id}" rel="{id}">', + '<span>' + <?= t("No thumbnail")->for_js() ?> + '</span>', + '<div class="icon"></div>', + '</div>', + '</tpl>', '</tpl>') }); |