<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-title-header-1 nowrap mgT10">Message logs</div>
            </div>
        </div>
    </div>
    <button class="popup-back-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#schedulesPopupViewMessLogmodal')"></button>
</div>
<div class="app-content">
    <div class="app-content-inner content-pd">
        <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false" delegate-handle="scrollerPopupChatSearchChatResultList" on-scroll="scrollContent('scrollerPopupChatSearchChatResultList')">
            <div class="box-setting-4 full-w-i">
                <div class="content content-in">
                    <div class="itm">
                        <div class="layout-fixed">
                            <div>
                                <button type="button" class="button-form-field-2 h38px full-w" ng-click="beforeRidirectToDispathRoom()">Go to Dispath</button>
                            </div>
                        </div>
                    </div>
                    <div class="message-item itm row-one-content" ng-repeat="item in mess_log">
                        <div class="layout-fixed">
                            <div class="w50px v-top-i">
                                <div class="box-image-thumnail-2 w40px h40px">
                                    <a class="image-outer" href="javascript:void(0)">
                                        <img src="{{::getImage(item.from_user)}}" />
                                    </a>
                                </div>
                            </div>
                            <div class="v-top-i">
                                <div class="text" ng-bind-html="item.contents"></div>
                                <div class="layout-fixed w-auto-i baseline mgT10">
                                    <div class="subname clr-black">{{item.fromUserName}}</div>
                                    <div class="text-date-1 pdL4 pdR2">at</div>
                                    <div class="text-date-1 lowercase">{{item.servertime}}</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <ion-infinite-scroll on-infinite="LoadMoreSearchChatList('more')" ng-if="chatList_data" distance="1%"> </ion-infinite-scroll>
        </ion-scroll>
    </div>
</div>
