parent
502fa23d31
commit
4d5c65e6d4
12 changed files with 131 additions and 24 deletions
17
static/js/pages/error-view.js
Normal file
17
static/js/pages/error-view.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
(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;
|
||||
}
|
||||
}());
|
Reference in a new issue