[Mentions] Fix template for email list
This commit is contained in:
parent
5d88243199
commit
9d0f639fda
|
@ -1121,7 +1121,10 @@ define([
|
||||||
return (item.email && 0 === item.email.toLowerCase().indexOf(str) || item.name && 0 === item.name.toLowerCase().indexOf(str))
|
return (item.email && 0 === item.email.toLowerCase().indexOf(str) || item.name && 0 === item.name.toLowerCase().indexOf(str))
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var tpl = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem" style="font-size: 12px;"><div><%= Common.Utils.String.htmlEncode(caption) %></div><div style="color: #909090;"><%= Common.Utils.String.htmlEncode(options.value) %></div></a>'),
|
var tpl = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem" style="font-size: 12px;">' +
|
||||||
|
'<div style="overflow: hidden; text-overflow: ellipsis; max-width: 195px;"><%= Common.Utils.String.htmlEncode(caption) %></div>' +
|
||||||
|
'<div style="overflow: hidden; text-overflow: ellipsis; max-width: 195px; color: #909090;"><%= Common.Utils.String.htmlEncode(options.value) %></div>' +
|
||||||
|
'</a>'),
|
||||||
divider = false;
|
divider = false;
|
||||||
_.each(users, function(menuItem, index) {
|
_.each(users, function(menuItem, index) {
|
||||||
if (divider && !menuItem.hasAccess) {
|
if (divider && !menuItem.hasAccess) {
|
||||||
|
|
Loading…
Reference in a new issue