mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Merge commit 'upstream/master'
This commit is contained in:
@@ -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>')
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user