mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Link to new license page
This commit is contained in:
parent
b716394e54
commit
47b86a3a7e
@ -4,7 +4,6 @@ import icon from 'tower/shared/icon/main';
|
||||
export default
|
||||
angular.module('setupMenu',
|
||||
[ 'AboutAnsibleHelpModal',
|
||||
'LicenseHelper',
|
||||
'ConfigureTowerHelper',
|
||||
'CreateCustomInventoryHelper',
|
||||
icon.name
|
||||
|
||||
@ -67,9 +67,9 @@
|
||||
</p>
|
||||
</div>
|
||||
</button>
|
||||
<button ng-click="showLicenseModal()" class="SetupItem SetupItem--button SetupItem--aside SetupItem--noIcon">
|
||||
<a link-to="license" class="SetupItem SetupItem--button SetupItem--aside SetupItem--noIcon">
|
||||
<h4 class="SetupItem-title SetupItem-title--aside">View your License</h4>
|
||||
</button>
|
||||
</a>
|
||||
<button ng-click="showAboutModal()" class="SetupItem SetupItem--button SetupItem--aside SetupItem--noIcon">
|
||||
<h4 class="SetupItem-title SetupItem-title--aside">About Tower</h4>
|
||||
</button>
|
||||
|
||||
@ -2,19 +2,16 @@ export default
|
||||
[ '$scope',
|
||||
'$rootScope',
|
||||
'AboutAnsibleHelp',
|
||||
'LicenseViewer',
|
||||
'ConfigureTower',
|
||||
'CreateCustomInventory',
|
||||
function(
|
||||
$scope,
|
||||
$rootScope,
|
||||
showAboutModal,
|
||||
licenseViewer,
|
||||
configureTower,
|
||||
showInventoryScriptsModal
|
||||
) {
|
||||
$scope.showAboutModal = showAboutModal;
|
||||
$scope.showLicenseModal = licenseViewer.showViewer.bind(licenseViewer);
|
||||
|
||||
$scope.showManagementJobsModal =
|
||||
configureTower.bind(null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user