- {{ __('Settings') }}
+
+
+
+
+ {{ __('Tags') }}
+
+
+
-
-
+
+
+
+
+ {{ __('Course Image') }}
+ *
+
+
saveImage(file)"
+ >
+
+
+
+
+
+
+
+
+ {{
+ __('Appears on the course card in the course list')
+ }}
+
+
+
+
+
+
+
+
![]()
+
+
+
+ {{ __('Appears on the course card in the course list') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ __("Settings") }}
+
+
+
-
-
+
+
+
+
+
+ {{ __('Course Description') }}
+ *
+
+
(course.description = val)"
+ :editable="true"
+ :fixedMenu="true"
+ editorClass="prose-sm max-w-none border-b border-x bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem]"
+ />
+
+
+
+
+
+
+
{{ __('Pricing and Certification') }}
@@ -214,19 +223,25 @@
:label="__('Paid Certificate')"
/>
-
-
-
+
@@ -531,12 +546,6 @@ const removeImage = () => {
course.course_image = null
}
-const openSettings = (close) => {
- close()
- settingsStore.activeTab = 'Categories'
- settingsStore.isSettingsOpen = true
-}
-
const check_permission = () => {
let user_is_instructor = false
if (user.data?.is_moderator) return
@@ -552,6 +561,12 @@ const check_permission = () => {
}
}
+const openSettings = (category, close) => {
+ close()
+ settingsStore.activeTab = category
+ settingsStore.isSettingsOpen = true
+}
+
const breadcrumbs = computed(() => {
let crumbs = [
{