mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-27 18:31:47 -05:00
30 lines
678 B
JavaScript
30 lines
678 B
JavaScript
/*************************************************
|
|
* Copyright (c) 2016 Ansible, Inc.
|
|
*
|
|
* All Rights Reserved
|
|
*************************************************/
|
|
|
|
import {templateUrl} from '../shared/template-url/template-url.factory';
|
|
import { N_ } from '../i18n';
|
|
|
|
export default {
|
|
name: 'license',
|
|
route: '/license',
|
|
templateUrl: templateUrl('license/license'),
|
|
controller: 'licenseController',
|
|
data: {},
|
|
ncyBreadcrumb: {
|
|
parent: 'setup',
|
|
label: N_('LICENSE')
|
|
},
|
|
resolve: {
|
|
features: ['CheckLicense', '$rootScope',
|
|
function(CheckLicense, $rootScope) {
|
|
if($rootScope.licenseMissing === undefined){
|
|
return CheckLicense.notify();
|
|
}
|
|
|
|
}]
|
|
},
|
|
};
|