Fix spelling mistake and display mistake in 404 view
This commit is contained in:
parent
03cf6d1499
commit
5f9efa2fe9
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
function ErrorViewCtrl($scope, ApiService, $routeParams, UserService) {
|
function ErrorViewCtrl($scope, ApiService, $routeParams, UserService) {
|
||||||
$scope.info = window.__error_info || {};
|
$scope.info = window.__error_info;
|
||||||
$scope.code = window.__error_code || 404;
|
$scope.code = window.__error_code || 404;
|
||||||
}
|
}
|
||||||
}());
|
}());
|
|
@ -2,9 +2,9 @@
|
||||||
<!-- 404 -->
|
<!-- 404 -->
|
||||||
<div class="err404" ng-if="code == 404">
|
<div class="err404" ng-if="code == 404">
|
||||||
<h2>404: Not Found</h2>
|
<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.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 exists</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 exists</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">
|
<img src="/static/img/40x/quay-logo-404.svg">
|
||||||
|
|
||||||
|
|
Reference in a new issue