diff options
author | Beckett Madden-Woods <beckett@beckettmw.com> | 2011-01-09 04:03:31 +0000 |
---|---|---|
committer | Beckett Madden-Woods <beckett@beckettmw.com> | 2011-01-09 04:03:31 +0000 |
commit | 1a1a05ed9446bb57a0ef457a8cbf8beca5619c31 (patch) | |
tree | 10030f48f23928f8fdedcf7d8db0c6fa3cd5f5a0 /modules/organize/views | |
parent | b78a1319ae10841ff6be00d041b3d8d6967ca7a3 (diff) | |
parent | 4c80ed53d2a3fa3392d2da61c730b6d30de9f2be (diff) |
Merge commit 'upstream/master'
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 6dfa54d6..f50548e6 100644 --- a/modules/organize/views/organize_frame.html.php +++ b/modules/organize/views/organize_frame.html.php @@ -243,10 +243,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>') }); |