modal_collabo_profile.html 2.63 KB
Newer Older
1 2
<div class="modal fade profile_modal w_50" id="userNameCardInCollaboration" tabindex="-1" role="dialog"
  aria-labelledby="userNameCardInCollaboration" aria-hidden="true">
藤川諒 committed
3 4 5 6 7 8
  <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>
9 10 11 12
        <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>
藤川諒 committed
13 14
      </div>
      <div class="modal-body">
15
        {{#groupPathList}}
16
        <li onclick="return false;"><b>{{groupPath}}</b></li>
17
        {{/groupPathList}}
藤川諒 committed
18 19
      </div>
      <div class="modal-footer border-0 justify-content-center">
20 21
        {{#isFavorite}}
        <button type="button" class="border-0 bg_navy" onclick="CHAT_UI.removeFavoriteUserInCollaboration({{shopMemberId}})" id="favoriteButton">
藤川諒 committed
22 23 24 25 26 27 28
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_profile_favorite.png" alt="お気に入り">
            </div>
            <span>お気に入り解除</span>
          </div>
        </button>
29 30 31 32 33 34 35 36 37 38 39
        {{/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}}
40 41 42 43 44 45 46 47 48 49 50
        {{#isHost}}
        <button type="button" class="ch_host_btn border-0 bg_green text_white" onclick="Coview_changeHost('{{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}}
51
        <button type="button" class="ch_host_btn border-0 bg_grey text_white" onclick="Coview_changeHost('{{loginId}}');" disabled>
藤川諒 committed
52 53 54 55 56 57 58
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_change_host.png" alt="ホスト変更">
            </div>
            <span>ホスト変更</span>
          </div>
        </button>
59
        {{/isHost}}
藤川諒 committed
60 61 62
      </div>
    </div>
  </div>
Kim Peace committed
63
</div>