Repository: syncthing/syncthing
File: gui/default/syncthing/core/syncthingController.js (JavaScript)

Code before:
            }

            // Disconnected
            if (!unused && $scope.deviceStats[deviceCfg.deviceID] && $scope.deviceStats[deviceCfg.deviceID].lastSeenDays && $scope.deviceStats[deviceCfg.deviceID].lastSeenDays >= 7) {
                return status + 'disconnected-inactive';
            } else {
                return status + 'disconnected';
            }
        };

        $scope.deviceStatusIcon = function(cfg) {
            switch ($scope.deviceStatus(cfg)) {
                case 'insync':
                    return 'fa-check';
                case 'unused-insync':
                    return 'fa-unlink';
                case 'syncing':
                    return 'fa-sync';
                case 'paused':
                    return 'fa-pause';
                case 'unused-paused':
                    return 'fa-unlink';
                case 'disconnected':
                    return 'fa-power-off';
                case 'disconnected-inactive':
                    return 'fa-power-off';
                case 'unused-disconnected':
                    return 'fa-unlink';
            }
        };

        $scope.deviceStatusText = function(device) {
            switch ($scope.deviceStatus(device)) {
                case 'insync':
                    return $translate.instant('Up to Date');
                case 'unused-insync':
                    return $translate.instant('Connected (Unused)');
                case 'syncing':
                    return $translate.instant('Syncing') + ' (' + percentFilter($scope.completion[device.deviceID]._total) + ', ' + binaryFilter($scope.completion[device.deviceID]._needBytes) + 'B)';
                case 'paused':
                    return $translate.instant('Paused');
                case 'unused-paused':
                    return $translate.instant('Paused (Unused)');
                case 'disconnected':
                    return $translate.instant('Disconnected');
                case 'disconnected-inactive':
                    return $translate.instant('Disconnected (Inactive)');
                case 'unused-disconnected':
                    return $translate.instant('Disconnected (Unused)');
            }
        };

Review comment (suggestion):
```suggestion
                case 'disconnected':
                case 'disconnected-inactive':
                    return 'fa-power-off';
```

And similar for `fa-unlink`...

Code after:
            }

            // Disconnected
            if (!unused && $scope.deviceStats[deviceCfg.deviceID] && $scope.deviceStats[deviceCfg.deviceID].lastSeenDays && $scope.deviceStats[deviceCfg.deviceID].lastSeenDays >= 7) {
                return status + 'disconnected-inactive';
            } else {
                return status + 'disconnected';
            }
        };

        $scope.deviceStatusIcon = function(cfg) {
            switch ($scope.deviceStatus(cfg)) {
                case 'disconnected':
                case 'disconnected-inactive':
                    return 'fa-power-off';
                case 'insync':
                    return 'fa-check';
                case 'paused':
                    return 'fa-pause';
                case 'syncing':
                    return 'fa-sync';
                case 'unused-disconnected':
                case 'unused-insync':
                case 'unused-paused':
                    return 'fa-unlink';
            }
        };

        $scope.deviceStatusText = function(device) {
            switch ($scope.deviceStatus(device)) {
                case 'disconnected':
                    return $translate.instant('Disconnected');
                case 'disconnected-inactive':
                    return $translate.instant('Disconnected (Inactive)');
                case 'insync':
                    return $translate.instant('Up to Date');
                case 'paused':
                    return $translate.instant('Paused');
                case 'syncing':
                    return $translate.instant('Syncing');
                case 'unused-disconnected':
                    return $translate.instant('Disconnected (Unused)');
                case 'unused-insync':
                    return $translate.instant('Connected (Unused)');
                case 'unused-paused':
                    return $translate.instant('Paused (Unused)');
            }
        };

        $scope.folderStatusIcon = function(cfg) {
            switch ($scope.folderStatus(cfg)) {