From 4e61bd6048055ba70306cde19ff49690c2f0302d Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 16 Dec 2016 15:00:41 +0200 Subject: [PATCH] fix user field list view tpl --- client/res/templates/fields/user-with-avatar/list.tpl | 4 ++++ client/src/views/fields/user-with-avatar.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 client/res/templates/fields/user-with-avatar/list.tpl diff --git a/client/res/templates/fields/user-with-avatar/list.tpl b/client/res/templates/fields/user-with-avatar/list.tpl new file mode 100644 index 0000000000..12ecc2ca9b --- /dev/null +++ b/client/res/templates/fields/user-with-avatar/list.tpl @@ -0,0 +1,4 @@ +{{#if idValue}} +{{{avatar}}} +{{nameValue}} +{{/if}} \ No newline at end of file diff --git a/client/src/views/fields/user-with-avatar.js b/client/src/views/fields/user-with-avatar.js index 383324736d..ac2c9a39bd 100644 --- a/client/src/views/fields/user-with-avatar.js +++ b/client/src/views/fields/user-with-avatar.js @@ -30,7 +30,7 @@ Espo.define('views/fields/user-with-avatar', 'views/fields/user', function (Dep) return Dep.extend({ - listTemplate: 'fields/user-with-avatar/detail', + listTemplate: 'fields/user-with-avatar/list', detailTemplate: 'fields/user-with-avatar/detail',