template_user_message.html 981 Bytes
Newer Older
1
<div class="room_left chat_message" data-messageid="{{messageId}}">
Lee Munkyeong committed
2
  <figure>
3
    <a href="#" data-toggle="modal" data-target="#profileModal1">
4
      <img src="{{profileImage}}" onError="this.src='./img/noImage.png'" onclick="Namecard.makeNameCard({{shopMemberId}})">
5
    </a>
Lee Munkyeong committed
6 7 8 9 10
  </figure>
  <div class="room_left-text">
    <div class="name">{{from}}</div>
    <div class="text">{{text}}</div>
  </div>
Lee Munkyeong committed
11 12 13 14
  {{#isToday}}
  <div class="date d-flex flex-column"><span></span><span>{{createdAtTime}}</span></div>
  {{/isToday}}
  {{^isToday}}
15
  {{#isOtherYear}}
16
  <div class="date d-flex flex-column"><span>{{createdAtYear}} {{createdAtDay}}</span><span>{{createdAtTime}}</span></div>
17 18
  {{/isOtherYear}}
  {{^isOtherYear}}
Lee Munkyeong committed
19
  <div class="date d-flex flex-column"><span>{{createdAtDay}}</span><span>{{createdAtTime}}</span></div>
20
  {{/isOtherYear}}
Lee Munkyeong committed
21
  {{/isToday}}
Lee Munkyeong committed
22 23 24
  {{#unreadCount}}
  <div class="unread d-flex align-items-end"><span>{{unreadCount}}</span></div>
  {{/unreadCount}}
Lee Munkyeong committed
25
</div>