diff --git a/frontend/src/components/BatchFeedback.vue b/frontend/src/components/BatchFeedback.vue index 93eca9e66..1f1f0b28c 100644 --- a/frontend/src/components/BatchFeedback.vue +++ b/frontend/src/components/BatchFeedback.vue @@ -1,5 +1,5 @@ diff --git a/frontend/src/pages/Batch.vue b/frontend/src/pages/Batch.vue index 775673bde..3c9288c44 100644 --- a/frontend/src/pages/Batch.vue +++ b/frontend/src/pages/Batch.vue @@ -21,7 +21,7 @@ -
+
-
+
@@ -81,7 +81,7 @@ :title="__('Discussions')" :key="batch.data.name" :singleThread="true" - :scrollToBottom="true" + :scrollToBottom="false" />
@@ -274,7 +274,7 @@ const tabs = computed(() => { }) batchTabs.push({ - label: 'Live Class', + label: 'Classes', icon: Laptop, }) @@ -295,12 +295,10 @@ const tabs = computed(() => { icon: MessageCircle, }) - if (isStudent.value) { - batchTabs.push({ - label: 'Feedback', - icon: ClipboardPen, - }) - } + batchTabs.push({ + label: 'Feedback', + icon: ClipboardPen, + }) return batchTabs }) diff --git a/lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json b/lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json index 5703eae48..f9a4ecb2f 100644 --- a/lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json +++ b/lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json @@ -6,13 +6,15 @@ "engine": "InnoDB", "field_order": [ "member", + "member_name", + "member_image", "batch", - "feedback", "column_break_swst", "content", "delivery", "instructors", - "value" + "value", + "feedback" ], "fields": [ { @@ -61,11 +63,25 @@ "fieldname": "value", "fieldtype": "Rating", "label": "Value" + }, + { + "fetch_from": "member.full_name", + "fieldname": "member_name", + "fieldtype": "Data", + "label": "Member Name", + "read_only": 1 + }, + { + "fetch_from": "member.user_image", + "fieldname": "member_image", + "fieldtype": "Attach Image", + "label": "Member Image", + "read_only": 1 } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2025-01-10 17:25:25.482724", + "modified": "2025-01-10 19:39:04.143783", "modified_by": "Administrator", "module": "LMS", "name": "LMS Batch Feedback",