@local-civics/mgmt-ui 0.1.148 → 0.1.149
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.js
CHANGED
|
@@ -1051,10 +1051,10 @@ function Table$b(props) {
|
|
|
1051
1051
|
);
|
|
1052
1052
|
}
|
|
1053
1053
|
const openDeleteModal = (student) => modals.openConfirmModal({
|
|
1054
|
-
title: `
|
|
1054
|
+
title: `Remove "${student.givenName && student.familyName ? `${student.givenName} ${student.familyName}` : student.email}" from this class?`,
|
|
1055
1055
|
centered: true,
|
|
1056
|
-
children: /* @__PURE__ */ React__namespace.createElement(core.Text, { size: "sm" }, "
|
|
1057
|
-
labels: { confirm: "
|
|
1056
|
+
children: /* @__PURE__ */ React__namespace.createElement(core.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."),
|
|
1057
|
+
labels: { confirm: "Remove Student", cancel: "Cancel" },
|
|
1058
1058
|
confirmProps: { color: "red" },
|
|
1059
1059
|
onConfirm: () => props.onDelete && props.onDelete(student)
|
|
1060
1060
|
});
|
|
@@ -2259,10 +2259,10 @@ function Table$3(props) {
|
|
|
2259
2259
|
);
|
|
2260
2260
|
}
|
|
2261
2261
|
const openDeleteModal = (student) => modals.openConfirmModal({
|
|
2262
|
-
title: `
|
|
2262
|
+
title: `Remove "${student.givenName && student.familyName ? `${student.givenName} ${student.familyName}` : student.email}" from this class?`,
|
|
2263
2263
|
centered: true,
|
|
2264
|
-
children: /* @__PURE__ */ React__namespace.createElement(core.Text, { size: "sm" }, "
|
|
2265
|
-
labels: { confirm: "
|
|
2264
|
+
children: /* @__PURE__ */ React__namespace.createElement(core.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."),
|
|
2265
|
+
labels: { confirm: "Remove Student", cancel: "Cancel" },
|
|
2266
2266
|
confirmProps: { color: "red" },
|
|
2267
2267
|
onConfirm: () => props.onDelete && props.onDelete(student)
|
|
2268
2268
|
});
|