diff --git a/frappe/data/Framework.sql b/frappe/data/Framework.sql index f2339a18a0..fa1ef74c46 100644 --- a/frappe/data/Framework.sql +++ b/frappe/data/Framework.sql @@ -148,6 +148,7 @@ CREATE TABLE `tabDocType` ( `_user_tags` varchar(255) DEFAULT NULL, `custom` int(1) NOT NULL DEFAULT 0, `beta` int(1) NOT NULL DEFAULT 0, + `image_view` int(1) NOT NULL DEFAULT 0, PRIMARY KEY (`name`), KEY `parent` (`parent`) ) ENGINE=InnoDB ROW_FORMAT=COMPRESSED CHARACTER SET=utf8mb4 COLLATE=utf8mb4_unicode_ci; diff --git a/frappe/public/js/frappe/list/image_view_item_row.html b/frappe/public/js/frappe/list/image_view_item_row.html index bd022999b8..4a01797604 100644 --- a/frappe/public/js/frappe/list/image_view_item_row.html +++ b/frappe/public/js/frappe/list/image_view_item_row.html @@ -1,4 +1,4 @@ -
+
{%= subject %} @@ -7,8 +7,8 @@
-
+
{% if (!item_image) { %}{%= frappe.get_abbr(data.name) %}{% } %} {% for (var i=0, l=columns.length; i < l; i++ ) { diff --git a/frappe/public/js/frappe/list/list_item_subject.html b/frappe/public/js/frappe/list/list_item_subject.html index 1e4475fe47..23db0c1b20 100644 --- a/frappe/public/js/frappe/list/list_item_subject.html +++ b/frappe/public/js/frappe/list/list_item_subject.html @@ -14,7 +14,7 @@ {{ strip_html(_title) }} {% if (_workflow && !_without_workflow) { %}