Skip to content

Commit

Permalink
Fixes #37934 - Changing wording on bulk host collection add/remove
Browse files Browse the repository at this point in the history
* When adding/removing hosts from a host collection using bulk hc membership we were using the rows selected to say x amount of content hosts instead of the actual count.
  • Loading branch information
chris1984 committed Oct 21, 2024
1 parent 5aad554 commit 88ca84a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ angular.module('Bastion.content-hosts').controller('ContentHostsBulkHostCollecti

if (action === 'add') {
HostBulkAction.addHostCollections(params, success, error);
$scope.ok();
} else if (action === 'remove') {
HostBulkAction.removeHostCollections(params, success, error);
$scope.ok();
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4 translate data-block="modal-header">Host Collection Membership Management</h

<div bst-alert="info" ng-show="hostCollections.action == 'add'">
<span translate>
Are you sure you want to add the {{ table.numSelected }} content host(s) selected to the host collection(s) chosen?
Are you sure you want to add the content host(s) selected to the host collection(s) chosen?
</span>
<div>
<button type="button" class="btn btn-default" ng-click="performHostCollectionAction()" translate>Yes</button>
Expand All @@ -20,7 +20,7 @@ <h4 translate data-block="modal-header">Host Collection Membership Management</h

<div bst-alert="info" ng-show="hostCollections.action == 'remove'">
<span translate>
Are you sure you want to remove the {{ table.numSelected }} content host(s) selected from the host collection(s) chosen?
Are you sure you want to remove the content host(s) selected from the host collection(s) chosen?
</span>
<div>
<button type="button" class="btn btn-default" ng-click="performHostCollectionAction()" translate>Yes</button>
Expand Down

0 comments on commit 88ca84a

Please sign in to comment.