mirror of
https://github.com/ansible/awx.git
synced 2026-02-13 12:54:40 -03:30
Use current year in about modal
This commit is contained in:
@@ -7,6 +7,7 @@ export default ['$rootScope', '$scope', '$location', 'ConfigService', 'lastPath'
|
|||||||
$scope.ansible_version = config.ansible_version;
|
$scope.ansible_version = config.ansible_version;
|
||||||
$scope.subscription = config.license_info.subscription_name;
|
$scope.subscription = config.license_info.subscription_name;
|
||||||
$scope.speechBubble = createSpeechBubble($rootScope.BRAND_NAME, config.version);
|
$scope.speechBubble = createSpeechBubble($rootScope.BRAND_NAME, config.version);
|
||||||
|
$scope.currentYear = new Date().getFullYear();
|
||||||
$('#about-modal').modal('show');
|
$('#about-modal').modal('show');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
Ansible {{ ansible_version }}
|
Ansible {{ ansible_version }}
|
||||||
</span> <br>
|
</span> <br>
|
||||||
<span class="Copyright-text" translate>
|
<span class="Copyright-text" translate>
|
||||||
Copyright © 2019 Red Hat, Inc. <br>
|
Copyright © {{ currentYear }} Red Hat, Inc. <br>
|
||||||
Visit <a href="http://www.ansible.com/" target="_blank">Ansible.com</a> for more information.<br>
|
Visit <a href="http://www.ansible.com/" target="_blank">Ansible.com</a> for more information.<br>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user