Add ARM to GUI architectures, and fallback for unknowns

This commit is contained in:
Jakob Borg 2015-04-10 12:45:47 +02:00
parent 94f6e400ad
commit bc37b69d17
2 changed files with 5 additions and 4 deletions

View File

@ -1230,12 +1230,13 @@ angular.module('syncthing.core')
'linux': 'Linux',
'windows': 'Windows',
'solaris': 'Solaris',
}[$scope.version.os];
}[$scope.version.os] || $scope.version.os;
var arch ={
'386': '32 bit',
'amd64': '64 bit',
}[$scope.version.arch];
'arm': 'ARM',
}[$scope.version.arch] || $scope.version.arch;
return $scope.version.version + ', ' + os + ' (' + arch + ')';
};

File diff suppressed because one or more lines are too long