Fix spelling mistake and display mistake in 404 view

This commit is contained in:
Joseph Schorr 2016-11-28 15:28:57 -05:00
parent 03cf6d1499
commit 5f9efa2fe9
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@
}]);
function ErrorViewCtrl($scope, ApiService, $routeParams, UserService) {
$scope.info = window.__error_info || {};
$scope.info = window.__error_info;
$scope.code = window.__error_code || 404;
}
}());

View file

@ -2,9 +2,9 @@
<!-- 404 -->
<div class="err404" ng-if="code == 404">
<h2>404: Not Found</h2>
<h3 ng-if="!info.for_repo && !info.namespace_exists">The resource you're looking for doesn't exists</h3>
<h3 ng-if="info && !info.namespace_exists">Namespace <strong>{{ info.namespace }}</strong> doesn't exists</h3>
<h3 ng-if="info && info.for_repo && info.namespace_exists">The repository you're looking for doesn't exists</h3>
<h3 ng-if="!info.for_repo && !info.namespace_exists">The resource you're looking for doesn't exist</h3>
<h3 ng-if="info && !info.namespace_exists">Namespace <strong>{{ info.namespace }}</strong> doesn't exist</h3>
<h3 ng-if="info && info.for_repo && info.namespace_exists">The repository you're looking for doesn't exist</h3>
<img src="/static/img/40x/quay-logo-404.svg">