Enable new layout everywhere and fix SCM icons

This commit is contained in:
Joseph Schorr 2015-05-03 16:54:27 -07:00
parent abe43e758a
commit 65bce31d96
4 changed files with 8 additions and 9 deletions

View file

@ -19,8 +19,7 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
var redirect_uri = KeyService['githubRedirectUri'] + '/trigger/' +
namespace + '/' + repository;
// TODO(jschorr): Remove once the new layout is in place.
if (CookieService.get('quay.exp-new-layout') == 'true') {
if (Config.isNewLayout()) {
redirect_uri += '/__new';
}
@ -103,7 +102,7 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
'is_enabled': function() {
return Features.GITLAB_BUILD;
},
'icon': 'fa-git-square',
'icon': 'ci-gitlab',
'title': function() { return 'GitLab Repository Push'; },
'supports_full_directory_listing': false,
'templates': {
@ -132,7 +131,7 @@ angular.module('quay').factory('TriggerService', ['UtilService', '$sanitize', 'K
},
'is_external': false,
'is_enabled': function() { return true; },
'icon': 'fa-git',
'icon': 'fa-git-square',
'title': function() { return 'Custom Git Repository Push'; },
'templates': {
'credentials': '/static/directives/trigger/custom-git/credentials.html',