diff --git a/gui/default/index.html b/gui/default/index.html
index 4ed33a95e..faebd3246 100644
--- a/gui/default/index.html
+++ b/gui/default/index.html
@@ -328,6 +328,7 @@
({{syncPercentage(folder.id) | percent}}, {{syncRemaining(folder.id) | binary}}B)
Out of Sync
+ Failed Items
{{folder.label.length != 0 ? folder.label : folder.id}}
diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index 8446b0bac..add048991 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -751,6 +751,9 @@ angular.module('syncthing.core')
if (state === 'idle' && $scope.model[folderCfg.id].needTotalItems > 0) {
return 'outofsync';
}
+ if ($scope.hasFailedFiles(folderCfg.id)) {
+ return 'faileditems';
+ }
if (state === 'scanning') {
return state;
}
@@ -777,7 +780,7 @@ angular.module('syncthing.core')
if (status === 'unknown') {
return 'info';
}
- if (status === 'stopped' || status === 'outofsync' || status === 'error') {
+ if (status === 'stopped' || status === 'outofsync' || status === 'error' || status === 'faileditems') {
return 'danger';
}
if (status === 'unshared' || status === 'scan-waiting') {