Change header back to white and remove CoreOS product bar
As the product bar has been removed from the other CoreOS sites, change back to match
This commit is contained in:
parent
498d7fc15e
commit
24f16fc0d2
6 changed files with 5 additions and 148 deletions
|
@ -148,7 +148,7 @@ angular.module('quay').directive('headerBar', function () {
|
|||
};
|
||||
|
||||
$scope.getEnterpriseLogo = function() {
|
||||
return Config.getEnterpriseLogo(false);
|
||||
return Config.getEnterpriseLogo();
|
||||
};
|
||||
|
||||
$scope.toggleSearch = function() {
|
||||
|
|
|
@ -71,14 +71,10 @@ angular.module('quay').factory('Config', ['Features', function(Features) {
|
|||
return value;
|
||||
};
|
||||
|
||||
config.getEnterpriseLogo = function(forWhiteBackground) {
|
||||
config.getEnterpriseLogo = function() {
|
||||
if (!config.ENTERPRISE_LOGO_URL) {
|
||||
if (Features.BILLING) {
|
||||
if (forWhiteBackground) {
|
||||
return '/static/img/quay-horizontal-color.svg';
|
||||
} else {
|
||||
return '/static/img/quay-horizontal-whiteblue-nobackground.svg';
|
||||
}
|
||||
return '/static/img/quay-horizontal-color.svg';
|
||||
} else {
|
||||
return '/static/img/QuayEnterprise_horizontal_color.svg';
|
||||
}
|
||||
|
|
Reference in a new issue