Skip to content

Commit 8d0dba9

Browse files
committed
next/store/course: tweak number of students explanation
1 parent bf046b1 commit 8d0dba9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/packages/next/components/store/run-limit.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
import { Divider, Form } from "antd";
7+
import { useRouter } from "next/router";
78

89
import { unreachable } from "@cocalc/util/misc";
910
import A from "components/misc/A";
@@ -30,6 +31,8 @@ export function RunLimit({
3031
boost = false,
3132
source,
3233
}: RunLimitProps) {
34+
const router = useRouter();
35+
3336
function extra() {
3437
if (!showExplanations) return;
3538

@@ -64,9 +67,15 @@ export function RunLimit({
6467
case "course":
6568
return (
6669
<div style={{ marginTop: "5px" }}>
67-
It's advised to select two more seatch than the number of students
68-
(one for each student, one for the shared project and one for the
69-
instructor project)
70+
If you consider creating a shared project for your course, you
71+
should select one more seat than the number of students. One for
72+
each student, and one for the shared project. Regarding your
73+
instructor project, you need one additional seat or purchase a
74+
regular{" "}
75+
<a onClick={() => router.push("/store/site-license")}>
76+
site license
77+
</a>{" "}
78+
to cover it.
7079
</div>
7180
);
7281

0 commit comments

Comments
 (0)