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',