2018-05-24 20:59:32 +02:00
|
|
|
<modal id="failed" status="warning" icon="fas fa-exclamation-circle" heading="{{'Failed Items' | translate}}" large="yes" closeable="yes">
|
2016-06-12 14:06:48 +00:00
|
|
|
<div class="modal-body">
|
|
|
|
|
<p>
|
|
|
|
|
<span translate>The following items could not be synchronized.</span>
|
|
|
|
|
<span translate>They are retried automatically and will be synced when the error is resolved.</span>
|
|
|
|
|
</p>
|
2017-03-18 11:43:24 +00:00
|
|
|
<table class="table table-striped table-dynamic">
|
2018-01-14 17:01:06 +00:00
|
|
|
<tr dir-paginate="e in failed.errors | itemsPerPage: failed.perpage" current-page="failed.page" total-items="model[failed.folder].pullErrors" pagination-id="failed">
|
|
|
|
|
<td>{{e.path}}</td>
|
2016-06-12 14:06:48 +00:00
|
|
|
<td><abbr tooltip data-original-title="{{e.error}}">{{e.error | lastErrorComponent}}</abbr></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2018-01-14 17:01:06 +00:00
|
|
|
<dir-pagination-controls on-page-change="refreshFailed(newPageNumber, failed.perpage)" pagination-id="failed"></dir-pagination-controls>
|
2016-06-12 14:06:48 +00:00
|
|
|
<ul class="pagination pull-right">
|
2019-04-13 14:05:39 +02:00
|
|
|
<li ng-repeat="option in [10, 25, 50]" ng-class="{ active: failed.perpage == option }">
|
2018-01-14 17:01:06 +00:00
|
|
|
<a href="#" ng-click="refreshFailed(failed.page, option)">{{option}}</a>
|
2017-07-15 09:54:37 +00:00
|
|
|
</li>
|
2016-06-12 14:06:48 +00:00
|
|
|
</ul>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">
|
2018-05-24 20:59:32 +02:00
|
|
|
<span class="fas fa-times"></span> <span translate>Close</span>
|
2016-06-12 14:06:48 +00:00
|
|
|
</button>
|
|
|
|
|
</div>
|
2015-08-02 08:27:05 +02:00
|
|
|
</modal>
|