17 lines
No EOL
446 B
JavaScript
17 lines
No EOL
446 B
JavaScript
(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;
|
|
}
|
|
}()); |