calendar avatars change

This commit is contained in:
yuri
2018-04-12 15:20:55 +03:00
parent 4da7eddc69
commit d44f2fd7cd
2 changed files with 7 additions and 2 deletions
@@ -669,10 +669,10 @@ Espo.define('crm:views/calendar/calendar', ['view', 'lib!full-calendar'], functi
if (event.userIdList) {
event.userIdList.forEach(function (userId) {
var userName = event.userNameMap[userId] || '';
var avatarHtml = this.getHelper().getAvatarHtml(userId, 'small', 14);
var avatarHtml = this.getHelper().getAvatarHtml(userId, 'small', 13);
if (avatarHtml) avatarHtml += ' ';
var $div = $('<div>').html(avatarHtml + userName);
var $div = $('<div class="user">').html(avatarHtml + userName);
$content.append($div);
}, this);
}
@@ -10,6 +10,11 @@
text-decoration: line-through !important;
}
.fc-content > .user > .avatar {
position: relative;
top: -1px;
}
.fc-time-grid-event .fc-bg {
opacity: 0 !important;
}