1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Changes "Cancel" button to read "Close"

This commit is contained in:
Jared Tabor 2018-06-11 14:43:10 -04:00
parent bb657de6a7
commit 5bf0724bd0
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
};
}
$scope.codeMirror = new codemirror();
$scope.formCancel = function(){
$scope.formClose = function(){
$scope.$parent.$broadcast('awxNet-closeDetailsPanel');
};
$scope.strings = strings;

View File

@ -40,7 +40,7 @@
</div>
</form>
<div class="buttons Form-buttons" id="host_controls">
<button type="button" class="btn btn-sm Form-cancelButton" id="host_cancel_btn" ng-click="formCancel()"> {{strings.get('details.CANCEL')}}</button>
<button type="button" class="btn btn-sm Form-cancelButton" id="host_cancel_btn" ng-click="formClose()"> {{strings.get('details.CLOSE')}}</button>
</div>
<div class="Networking-saveConfirmation" ng-show="saveConfirmed">
{{strings.get('details.SAVE_COMPLETE')}} <i class="fa fa-check-circle"></i>