Skip to content

[team-sub] fix wording on add members #7811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions components/dashboard/src/settings/Teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,10 @@ function AddMembersModal(props: {
return (<Modal visible={true} onClose={props.onClose}>
<h3 className="pb-2">Add Members</h3>
<div className="border-t border-b border-gray-200 dark:border-gray-800 mt-2 -mx-6 px-6 py-4">
<p className="pb-4 text-gray-500 text-base">Add members to the team plan.</p>
<p className="pb-4 text-gray-500 text-base">Select the number of members to add to the team plan.</p>

<div className="flex flex-col space-y-2 pb-4">
<label htmlFor="quantity" className="font-medium">Members</label>
<label htmlFor="quantity" className="font-medium">Additional Members</label>
<select name="quantity" value={quantity} className="rounded-md w-full"
onChange={(e) => setQuantity(parseInt(e.target.value || '1', 10))}>
{quantities.map(n => (
Expand All @@ -621,11 +621,11 @@ function AddMembersModal(props: {
</select>
</div>

<AlertBox>Total: {expectedPrice} per month</AlertBox>
<AlertBox>Additional Charge: {expectedPrice} per month</AlertBox>

</div>
<div className="flex justify-end mt-6">
<button className={"ml-2"} onClick={() => props.onBuy(getPlan(), quantity, props.sub)}>Continue to Billing</button>
<button className={"ml-2"} onClick={() => props.onBuy(getPlan(), quantity, props.sub)}>Continue</button>
</div>
</Modal>);
}
Expand Down