<div class="my_messages chat_message" data-messageid="{{messageId}}"> <div class="room_right"> <div class="text">{{text}}</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> </div>