Fix icons for gitlab and some spacing

This commit is contained in:
Joseph Schorr 2015-05-03 10:43:08 -07:00
parent d07f9f04e9
commit c8d3ded95a
2 changed files with 13 additions and 5 deletions

View file

@ -178,6 +178,14 @@ angular.module('quay').directive('triggerSetupGithost', function () {
};
};
$scope.scmIcon = function(kind) {
if (kind == 'gitlab') {
return 'fa-git-square';
}
return 'fa-' + kind;
};
var setupTypeahead = function() {
var repos = [];
for (var i = 0; i < $scope.orgs.length; ++i) {