diff --git a/admin/themes/default/js/history.js b/admin/themes/default/js/history.js index 8c1792c4f..995349a4e 100644 --- a/admin/themes/default/js/history.js +++ b/admin/themes/default/js/history.js @@ -411,6 +411,8 @@ function lineConstructor(line, id, imageDisplay) { newLine.find(".type-name").html(line.IMAGENAME); newLine.find(".type-icon").html(line.IMAGE); newLine.find(".type-id").html("#" + line.IMAGEID); + newLine.find(".type-icon").attr("href", line.EDIT_IMAGE).removeClass("no-img") + newLine.find(".type-icon img").attr("title", str_edit_img).addClass("tiptip") newLine.find(".type-id").show(); } else { newLine.find(".type-icon .icon-file-image").removeClass("icon-file-image"); diff --git a/admin/themes/default/template/history.tpl b/admin/themes/default/template/history.tpl index 607d5c85f..2e457f209 100644 --- a/admin/themes/default/template/history.tpl +++ b/admin/themes/default/template/history.tpl @@ -48,6 +48,8 @@ const str_tags = "{'Tags'|translate}"; const unit_MB = "{"%s MB"|@translate}"; const str_guest = '{'guest'|@translate}'; const str_contact_form = '{'Contact Form'|@translate}'; +const str_edit_img = '{'Edit photo'|@translate}'; + const guest_id = {$guest_id}; {/footer_script} @@ -188,7 +190,7 @@ const guest_id = {$guest_id};
- +
{'Add as filter'|translate} @@ -285,6 +287,10 @@ jQuery(document).ready( function() { opacity: 0.5; } +.no-img { + cursor: default !important; +} + .container { padding: 0 20px; }