@@ -1021,7 +1021,6 @@
|
|||||||
<script type="text/javascript" src="syncthing/core/eventService.js"></script>
|
<script type="text/javascript" src="syncthing/core/eventService.js"></script>
|
||||||
<script type="text/javascript" src="syncthing/core/identiconDirective.js"></script>
|
<script type="text/javascript" src="syncthing/core/identiconDirective.js"></script>
|
||||||
<script type="text/javascript" src="syncthing/core/languageSelectDirective.js"></script>
|
<script type="text/javascript" src="syncthing/core/languageSelectDirective.js"></script>
|
||||||
<script type="text/javascript" src="syncthing/core/lastErrorComponentFilter.js"></script>
|
|
||||||
<script type="text/javascript" src="syncthing/core/localeService.js"></script>
|
<script type="text/javascript" src="syncthing/core/localeService.js"></script>
|
||||||
<script type="text/javascript" src="syncthing/core/modalDirective.js"></script>
|
<script type="text/javascript" src="syncthing/core/modalDirective.js"></script>
|
||||||
<script type="text/javascript" src="syncthing/core/metricFilter.js"></script>
|
<script type="text/javascript" src="syncthing/core/metricFilter.js"></script>
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
angular.module('syncthing.core')
|
|
||||||
.filter('lastErrorComponent', function () {
|
|
||||||
return function (input) {
|
|
||||||
if (input === undefined)
|
|
||||||
return "";
|
|
||||||
var parts = input.split(/:\s*/);
|
|
||||||
if (!parts || parts.length < 1) {
|
|
||||||
return input;
|
|
||||||
}
|
|
||||||
return parts[parts.length - 1];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<table class="table table-striped table-dynamic">
|
<table class="table table-striped table-dynamic">
|
||||||
<tr dir-paginate="e in failed.errors | itemsPerPage: failed.perpage" current-page="failed.page" total-items="model[failed.folder].pullErrors" pagination-id="failed">
|
<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>
|
<td>{{e.path}}</td>
|
||||||
<td><abbr tooltip data-original-title="{{e.error}}">{{e.error | lastErrorComponent}}</abbr></td>
|
<td>{{e.error}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<dir-pagination-controls on-page-change="refreshFailed(newPageNumber, failed.perpage)" pagination-id="failed"></dir-pagination-controls>
|
<dir-pagination-controls on-page-change="refreshFailed(newPageNumber, failed.perpage)" pagination-id="failed"></dir-pagination-controls>
|
||||||
|
|||||||
Reference in New Issue
Block a user