<div class="modal fade profile_modal" id="userNameCard" tabindex="-1" role="dialog" aria-labelledby="userNameCard" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header border-0">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
        <div class="profile_desc_ d-flex flex-row">
          <img src="{{profileUrl}}" onError="this.src='./img/noImage.png'"/>
          <div class="profile_name"><span>{{name}}</span></div>
        </div>
      </div>
      <div class="modal-body" id="userNameCard-scroll">
        {{#groupPathList}}
        <li onclick="CHAT_UI.refreshAllGroupSearch({{groupId}});"><b>{{groupPath}}</b></li>
        {{/groupPathList}}
      </div>
      <div class="modal-footer border-0 justify-content-center">
        {{#isFavorite}}
        <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.removeFavoriteUser({{shopMemberId}})" id="favoriteButton">
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite.png" alt="お気に入り">
            </div>
            <span>お気に入り解除</span>
          </div>
        </button>
        {{/isFavorite}}
        {{^isFavorite}}
        <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.insertFavoriteUser({{shopMemberId}})" id="favoriteButton">
          <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}}
        <button type="button" class="border-0 bg_green" >
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_phone.png" alt="通話">
            </div>
            <span>通話</span>
          </div>
        </button>
        <button type="button" class="border-0 bg_blue" onclick="CHAT_UI.startChat('{{shopMemberId}}','{{name}}');">
          <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>
</div>
