This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/pages/error-view.js

17 lines
452 B
JavaScript
Raw Normal View History

2016-09-21 17:53:09 +00:00
(function() {
/**
* Error view page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('error-view', 'error-view.html', ErrorViewCtrl, {
'title': '{{code}}',
'description': 'Error',
'newLayout': false
});
}]);
function ErrorViewCtrl($scope, ApiService, $routeParams, UserService) {
$scope.info = window.__error_info || {};
$scope.code = window.__error_code || 404;
2016-09-21 17:53:09 +00:00
}
}());