<div class="bootstrap-wrapper ms-srch-result wt-revision-my-editorpages wizdom-fullview">
    <div style="padding:5px;">
        <div ng-show="webpartProperties.displayMode == 1">
            <div wizdom365-revision-search-persons selected-user="selectedUser" user-model="userModel.name" on-selected-user="onSelect()"> </div>
        </div>
        <div>
            <table class="table table-hover w365AuthorControl" ng-show="dataReady">
                <thead>
                    <tr>
                        <th>
                            {{'Title' | translate}}
                        </th>
                        <th>
                            {{'Last modified' | translate}}
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="w365Author_details" ng-repeat="page in pages | orderBy: 'date':true | pagination: currentPage * webpartProperties.itemsPrPage | limitTo: webpartProperties.itemsPrPage">
                        <td><a ng-href="{{::page.path}}">{{::page.title}}</a></td>
                        <td><a ng-href="{{::page.path}}">{{::page.date | date: 'shortDate'}}</a></td>
                    </tr>
                    <tr ng-hide="pages.length">
                        <td>{{'No pages found' | translate}}</td>
                        <td></td>
                    </tr>
                </tbody>
            </table>


            <div class="container-fluid wd-noticeboard-pagination-container text-center" ng-if="pages.length > webpartProperties.itemsPrPage">
                <div class="wd-noticeboard-pagination-inner-container row">
                    <pagination total-items="pages.length"
                                ng-change="setPage(currentPage - 1)"
                                ng-model="currentPage"
                                items-per-page="webpartProperties.itemsPrPage"
                                max-size="5"
                                boundary-links="false"
                                previous-text="&lsaquo;"
                                next-text="&rsaquo;"
                                first-text="&laquo;"
                                last-text="&raquo;"></pagination>
                </div>
            </div>
        </div>
        <div wizdom365-spinner="" loading="!dataReady"></div>
    </div>
    <br />
</div>

