mario-core 2.9.226-layout → 2.9.227-layout

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.
@@ -1848,6 +1848,7 @@ var mario_tools = "MARIO TOOLS";
1848
1848
  var customize = "Customize";
1849
1849
  var techical_settings = "Technical Settings";
1850
1850
  var data_import_export = "Data Import/Export";
1851
+ var question_text = "Question text";
1851
1852
  var lang_us = {
1852
1853
  dashboard: dashboard,
1853
1854
  user: user,
@@ -3679,7 +3680,8 @@ var lang_us = {
3679
3680
  mario_tools: mario_tools,
3680
3681
  customize: customize,
3681
3682
  techical_settings: techical_settings,
3682
- data_import_export: data_import_export
3683
+ data_import_export: data_import_export,
3684
+ question_text: question_text
3683
3685
  };
3684
3686
 
3685
3687
  var dashboard$1 = "Dashboard";
@@ -3760,7 +3762,7 @@ var edit_question$1 = "Edit question";
3760
3762
  var question_type$1 = "Question Type";
3761
3763
  var category$1 = "Category";
3762
3764
  var sub_category$1 = "Sub Category";
3763
- var question_text = "Question text";
3765
+ var question_text$1 = "Question text";
3764
3766
  var text$1 = "Text";
3765
3767
  var is_default_question_for_one_to_one$1 = "Is default question for one-to-one";
3766
3768
  var default_question_for_students_or_teachers$1 = "Default question for students or teachers";
@@ -5574,7 +5576,7 @@ var lang_uk = {
5574
5576
  question_type: question_type$1,
5575
5577
  category: category$1,
5576
5578
  sub_category: sub_category$1,
5577
- question_text: question_text,
5579
+ question_text: question_text$1,
5578
5580
  text: text$1,
5579
5581
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$1,
5580
5582
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$1,
@@ -7407,7 +7409,7 @@ var edit_question$2 = "تعديل سؤال";
7407
7409
  var question_type$2 = "نوع السؤال";
7408
7410
  var category$2 = "الفئة";
7409
7411
  var sub_category$2 = "الفئة الفرعية";
7410
- var question_text$1 = "نص السؤال";
7412
+ var question_text$2 = "نص السؤال";
7411
7413
  var text$2 = "النص";
7412
7414
  var is_default_question_for_one_to_one$2 = "سؤال افتراضي لجلسات التعلّم الفردية";
7413
7415
  var default_question_for_students_or_teachers$2 = "سؤال افتراضي للطلبة أو المعلمين ";
@@ -9213,7 +9215,7 @@ var lang_ar = {
9213
9215
  question_type: question_type$2,
9214
9216
  category: category$2,
9215
9217
  sub_category: sub_category$2,
9216
- question_text: question_text$1,
9218
+ question_text: question_text$2,
9217
9219
  text: text$2,
9218
9220
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$2,
9219
9221
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$2,
@@ -11035,7 +11037,7 @@ var edit_question$3 = "Editar pregunta";
11035
11037
  var question_type$3 = "Tipo de Pregunta";
11036
11038
  var category$3 = "Categoría";
11037
11039
  var sub_category$3 = "Subcategoría";
11038
- var question_text$2 = "Texto de la pregunta";
11040
+ var question_text$3 = "Texto de la pregunta";
11039
11041
  var text$3 = "Texto";
11040
11042
  var is_default_question_for_one_to_one$3 = "Es la pregunta predeterminada para uno a uno";
11041
11043
  var default_question_for_students_or_teachers$3 = "Pregunta predeterminada para estudiantes o profesores";
@@ -11772,7 +11774,7 @@ var lang_es = {
11772
11774
  question_type: question_type$3,
11773
11775
  category: category$3,
11774
11776
  sub_category: sub_category$3,
11775
- question_text: question_text$2,
11777
+ question_text: question_text$3,
11776
11778
  text: text$3,
11777
11779
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$3,
11778
11780
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$3,
@@ -32154,8 +32156,8 @@ var TheContent = function TheContent(_ref) {
32154
32156
  var routes = _ref.routes;
32155
32157
  var location = useLocation();
32156
32158
  var pathname = location.pathname;
32157
- var dashboard = pathname === "/" ? "box-container" : "";
32158
- var padding = pathname === "/admin" ? "pt-3" : "";
32159
+ var dashboard = !pathname.includes("/admin") ? "box-container" : "";
32160
+ var padding = pathname.includes("/admin") ? "pt-3" : "";
32159
32161
  return React.createElement("main", {
32160
32162
  className: "c-main " + dashboard
32161
32163
  }, React.createElement(CContainer, {
@@ -32837,13 +32839,14 @@ var EmailTemplateList = function EmailTemplateList() {
32837
32839
  var style$1 = {
32838
32840
  width: "100%",
32839
32841
  position: "fixed",
32840
- bottom: 0,
32842
+ bottom: 83,
32841
32843
  backgroundColor: "#fff",
32842
32844
  borderTop: "1px solid #ddd",
32843
32845
  marginTop: "20px",
32844
32846
  marginLeft: "-30px",
32845
32847
  padding: "8px",
32846
- zIndex: 1
32848
+ zIndex: 1,
32849
+ paddingTop: 18
32847
32850
  };
32848
32851
 
32849
32852
  var DetailActionButtons = function DetailActionButtons(_ref) {
@@ -35163,6 +35166,11 @@ var useUserList = function useUserList() {
35163
35166
  email = _res$data2.email,
35164
35167
  profileImageFileName = _res$data2.profileImageFileName;
35165
35168
  localStorage.setItem(ACCESS_TOKEN, token);
35169
+
35170
+ if (roles.includes("Admin")) {
35171
+ localStorage.setItem("ROLES", "Admin");
35172
+ }
35173
+
35166
35174
  localStorage.removeItem(NOTIFICATION_ALERT_KEY);
35167
35175
  dispatch(setUser({
35168
35176
  id: id,