@local-civics/mgmt-ui 0.1.148 → 0.1.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1031,10 +1031,10 @@ function Table$b(props) {
|
|
|
1031
1031
|
);
|
|
1032
1032
|
}
|
|
1033
1033
|
const openDeleteModal = (student) => openConfirmModal({
|
|
1034
|
-
title: `
|
|
1034
|
+
title: `Remove "${student.givenName && student.familyName ? `${student.givenName} ${student.familyName}` : student.email}" from this class?`,
|
|
1035
1035
|
centered: true,
|
|
1036
|
-
children: /* @__PURE__ */ React.createElement(Text, { size: "sm" }, "
|
|
1037
|
-
labels: { confirm: "
|
|
1036
|
+
children: /* @__PURE__ */ React.createElement(Text, { size: "sm" }, "Click confirm if you want to remove the student from this specific class. This will NOT remove the student from the Tech Platform."),
|
|
1037
|
+
labels: { confirm: "Remove Student", cancel: "Cancel" },
|
|
1038
1038
|
confirmProps: { color: "red" },
|
|
1039
1039
|
onConfirm: () => props.onDelete && props.onDelete(student)
|
|
1040
1040
|
});
|
|
@@ -2239,10 +2239,10 @@ function Table$3(props) {
|
|
|
2239
2239
|
);
|
|
2240
2240
|
}
|
|
2241
2241
|
const openDeleteModal = (student) => openConfirmModal({
|
|
2242
|
-
title: `
|
|
2242
|
+
title: `Remove "${student.givenName && student.familyName ? `${student.givenName} ${student.familyName}` : student.email}" from this class?`,
|
|
2243
2243
|
centered: true,
|
|
2244
|
-
children: /* @__PURE__ */ React.createElement(Text, { size: "sm" }, "
|
|
2245
|
-
labels: { confirm: "
|
|
2244
|
+
children: /* @__PURE__ */ React.createElement(Text, { size: "sm" }, "Click confirm if you want to remove the student from this specific class. This will NOT remove the student from the Tech Platform."),
|
|
2245
|
+
labels: { confirm: "Remove Student", cancel: "Cancel" },
|
|
2246
2246
|
confirmProps: { color: "red" },
|
|
2247
2247
|
onConfirm: () => props.onDelete && props.onDelete(student)
|
|
2248
2248
|
});
|