template_user_name_card.html 2.57 KB
Newer Older
1 2
<div class="modal fade profile_modal" id="userNameCard" tabindex="-1" role="dialog" aria-labelledby="userNameCard"
  aria-hidden="true">
3 4 5
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header border-0">
6 7 8
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
Kim Peace committed
9
        <div class="profile_desc_ d-flex flex-row">
10
          <img src="{{profileUrl}}" onError="this.src='./img/noImage.png'" />
藤川諒 committed
11
          <div class="profile_name d-flex justify-content-center align-items-center"><span>{{name}}</span></div>
12 13
        </div>
      </div>
14
      <div class="modal-body" id="userNameCard-scroll">
Lee Daehyun committed
15
        {{#groupPathList}}
16
        <li onclick="Contact.refreshAllGroupSearch({{groupId}});"><b>{{groupPath}}</b></li>
Lee Daehyun committed
17
        {{/groupPathList}}
18 19 20
      </div>
      <div class="modal-footer border-0 justify-content-center">
        {{#isFavorite}}
21
        <button type="button" class="border-0 bg_navy" onclick="Namecard.removeFavoriteUser({{shopMemberId}})"
22
          id="favoriteButton">
23 24 25 26 27 28 29 30
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite.png" alt="お気に入り">
            </div>
            <span>お気に入り解除</span>
          </div>
        </button>
        {{/isFavorite}}
Lee Munkyeong committed
31
        {{^isFavorite}}
32
        <button type="button" class="border-0 bg_navy" onclick="Namecard.insertFavoriteUser({{shopMemberId}})"
33
          id="favoriteButton">
34 35 36 37 38 39 40 41
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite_white.png" alt="お気に入り">
            </div>
            <span>お気に入り登録</span>
          </div>
        </button>
        {{/isFavorite}}
42
        <button type="button" class="border-0 bg_green" onclick="Namecard.startVoice('{{shopMemberId}}','{{name}}');">
43 44
          <div class="d-flex flex-column">
            <div class="img_wrap">
45
              <img src="icon/icon_profile_phone.png" alt="通話">
46 47 48 49
            </div>
            <span>通話</span>
          </div>
        </button>
50
        <button type="button" class="border-0 bg_blue" onclick="Namecard.startChat('{{shopMemberId}}','{{name}}');">
51 52 53 54 55 56 57 58 59 60
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_chat.png" alt="チャット">
            </div>
            <span>チャット</span>
          </div>
        </button>
      </div>
    </div>
  </div>
61
</div>