<div class="room_left"> <figure> <a href="#" data-toggle="modal" data-target="#profileModal1"> <img src="{{profileImage}}" onError="this.src='./img/noImage.png'" onclick="CHAT_UI.makeNameCard({{shopMemberId}})"> </a> </figure> <div class="room_left-text"> <div class="name">{{from}}</div> <div class="text">{{text}}</div> </div> {{#isToday}} <div class="date d-flex flex-column"><span></span><span>{{createdAtTime}}</span></div> {{/isToday}} {{^isToday}} {{#isOtherYear}} <div class="date d-flex flex-column"><span>{{createdAtYear}} {{createdAtDay}}</span><span>{{createdAtTime}}</span></div> {{/isOtherYear}} {{^isOtherYear}} <div class="date d-flex flex-column"><span>{{createdAtDay}}</span><span>{{createdAtTime}}</span></div> {{/isOtherYear}} {{/isToday}} {{#unreadCount}} <div class="unread d-flex align-items-end"><span>{{unreadCount}}</span></div> {{/unreadCount}} </div>