modal_collabo_profile.html 3.19 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
        <div class="profile_desc_ d-flex flex-row">
          <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
        </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
        {{#isHost}}
41
        <button type="button" class="ch_host_btn border-0 bg_green text_white" onclick="hostChangeRequest('{{loginId}}');" >
42 43 44 45 46 47 48 49 50
          <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 52
        {{#whosHost}}
        <button type="button" class="ch_host_btn border-0 bg_blue text_white" data-toggle="modal" data-target="#hostRequestModal" value="#profileModal2">
藤川諒 committed
53 54 55 56 57 58 59
          <div class="d-flex flex-column">
            <div class="img_wrap">
              <img src="icon/icon_change_host.png" alt="ホスト変更">
            </div>
            <span>ホスト変更</span>
          </div>
        </button>
60 61 62 63 64 65 66 67 68 69 70
        {{/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}}
71
        {{/isHost}}
藤川諒 committed
72 73 74
      </div>
    </div>
  </div>
Kim Peace committed
75
</div>