mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #4630 from jakemcdermott/current-date
[3.8] Use current year in about modal
This commit is contained in:
commit
36abc9b123
@ -7,6 +7,7 @@ export default ['$rootScope', '$scope', '$location', 'ConfigService', 'lastPath'
|
||||
$scope.ansible_version = config.ansible_version;
|
||||
$scope.subscription = config.license_info.subscription_name;
|
||||
$scope.speechBubble = createSpeechBubble($rootScope.BRAND_NAME, config.version);
|
||||
$scope.currentYear = new Date().getFullYear();
|
||||
$('#about-modal').modal('show');
|
||||
});
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
Ansible {{ ansible_version }}
|
||||
</span> <br>
|
||||
<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>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user