mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
gui: Show full failed item path
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4023
This commit is contained in:
parent
c6dd777fd6
commit
ed771f5c64
@ -103,6 +103,12 @@ ul+h5 {
|
|||||||
table.table-condensed {
|
table.table-condensed {
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.table-dynamic {
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
table.table-condensed td {
|
table.table-condensed td {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -1625,6 +1625,7 @@ angular.module('syncthing.core')
|
|||||||
|
|
||||||
$scope.showFailed = function (folder) {
|
$scope.showFailed = function (folder) {
|
||||||
$scope.failedCurrent = $scope.failed[folder];
|
$scope.failedCurrent = $scope.failed[folder];
|
||||||
|
$scope.failedFolderPath = $scope.folders[folder].path;
|
||||||
$('#failed').modal().on('hidden.bs.modal', function () {
|
$('#failed').modal().on('hidden.bs.modal', function () {
|
||||||
$scope.failedCurrent = undefined;
|
$scope.failedCurrent = undefined;
|
||||||
});
|
});
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<span translate>The following items could not be synchronized.</span>
|
<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>
|
<span translate>They are retried automatically and will be synced when the error is resolved.</span>
|
||||||
</p>
|
</p>
|
||||||
<table class="table table-striped table-condensed">
|
<table class="table table-striped table-dynamic">
|
||||||
<tr dir-paginate="e in failedCurrent | itemsPerPage: failedPageSize" current-page="failedCurrentPage" pagination-id="failed">
|
<tr dir-paginate="e in failedCurrent | itemsPerPage: failedPageSize" current-page="failedCurrentPage" pagination-id="failed">
|
||||||
<td><abbr tooltip data-original-title="{{e.path}}">{{e.path | basename}}</abbr></td>
|
<td>{{failedFolderPath}}{{e.path}}</td>
|
||||||
<td><abbr tooltip data-original-title="{{e.error}}">{{e.error | lastErrorComponent}}</abbr></td>
|
<td><abbr tooltip data-original-title="{{e.error}}">{{e.error | lastErrorComponent}}</abbr></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user