mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Replace modal title underscore with a space
This commit is contained in:
@@ -37,6 +37,8 @@ export default ['templateUrl', function(templateUrl) {
|
|||||||
$scope.$watch(list.name, function(){
|
$scope.$watch(list.name, function(){
|
||||||
selectRowIfPresent();
|
selectRowIfPresent();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$scope.modalTitle = list.iterator.replace(/_/g, ' ');
|
||||||
};
|
};
|
||||||
|
|
||||||
function selectRowIfPresent(){
|
function selectRowIfPresent(){
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header Form-header">
|
<div class="modal-header Form-header">
|
||||||
<div class="Form-title Form-title--uppercase">Select {{list.iterator}}</div>
|
<div class="Form-title Form-title--uppercase">Select {{modalTitle}}</div>
|
||||||
<!-- optional: transclude header fields -->
|
<!-- optional: transclude header fields -->
|
||||||
<div class="Form-header--fields"></div>
|
<div class="Form-header--fields"></div>
|
||||||
<div class="Form-exitHolder">
|
<div class="Form-exitHolder">
|
||||||
|
|||||||
Reference in New Issue
Block a user