<div class="modal fade profile_modal w_50" id="userNameCardInCollaboration" tabindex="-1" role="dialog"
  aria-labelledby="userNameCardInCollaboration" 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">
        {{#groupPathList}}
        <li onclick="return false;"><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.removeFavoriteUserInCollaboration({{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.insertFavoriteUserInCollaboration({{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}}
        {{#isHost}}
        <button type="button" class="ch_host_btn border-0 bg_green text_white" onclick="hostChangeRequest('{{loginId}}');" >
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_change_host.png" alt="ホスト変更">
            </div>
            <span>ホスト変更</span>
          </div>
        </button>
        {{/isHost}}
        {{^isHost}}
        {{#whosHost}}
        <button type="button" class="ch_host_btn border-0 bg_blue text_white" data-toggle="modal" data-target="#hostRequestModal" value="#profileModal2">
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_change_host.png" alt="ホスト変更">
            </div>
            <span>ホスト変更</span>
          </div>
        </button>
        {{/whosHost}}
        {{^whosHost}}
        <button type="button" class="ch_host_btn border-0 bg_grey text_white" data-toggle="modal" data-target="#hostRequestModal" value="#profileModal2" disabled>
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_change_host.png" alt="ホスト変更">
            </div>
            <span>ホスト変更</span>
          </div>
        </button>
        {{/whosHost}}
        {{/isHost}}
      </div>
    </div>
  </div>
</div>