Compare commits
7 Commits
v2.9.0
...
pot_develo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fac29e3e4 | ||
|
|
224bb18d3e | ||
|
|
aab7bdcc20 | ||
|
|
c5ca428d98 | ||
|
|
a085050d27 | ||
|
|
2442f35f56 | ||
|
|
53285a0d19 |
@@ -152,24 +152,11 @@ const filterOptions = createResource({
|
||||
url: 'frappe.desk.search.search_link',
|
||||
method: 'POST',
|
||||
cache: [text.value, props.doctype],
|
||||
auto: true,
|
||||
params: {
|
||||
txt: text.value,
|
||||
doctype: props.doctype,
|
||||
},
|
||||
/* transform: (data) => {
|
||||
let allData = data
|
||||
.filter((c) => {
|
||||
return c.description.split(', ')[1]
|
||||
})
|
||||
.map((option) => {
|
||||
let email = option.description.split(', ')[1]
|
||||
return {
|
||||
label: option.label || email,
|
||||
value: email,
|
||||
}
|
||||
})
|
||||
return allData
|
||||
}, */
|
||||
})
|
||||
|
||||
const options = computed(() => {
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
</div>
|
||||
<div class="flex items-center space-x-2 text-gray-900 mt-auto">
|
||||
<a
|
||||
v-if="user.data?.is_moderator || user.data?.is_evaluator"
|
||||
:href="cls.start_url"
|
||||
target="_blank"
|
||||
class="w-1/2 cursor-pointer inline-flex items-center justify-center gap-2 transition-colors focus:outline-none text-gray-800 bg-gray-100 hover:bg-gray-200 active:bg-gray-300 focus-visible:ring focus-visible:ring-gray-400 h-7 text-base px-2 rounded"
|
||||
|
||||
@@ -279,7 +279,7 @@ const renderEditor = (holder, content) => {
|
||||
}
|
||||
|
||||
const markProgress = () => {
|
||||
if (user.data && !lesson.data?.progress) {
|
||||
if (user.data && lesson.data && !lesson.data.progress) {
|
||||
progress.submit()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,6 +185,7 @@ jinja = {
|
||||
"lms.lms.utils.get_lesson_url",
|
||||
"lms.page_renderers.get_profile_url",
|
||||
"lms.overrides.user.get_palette",
|
||||
"lms.lms.utils.is_instructor",
|
||||
],
|
||||
"filters": [],
|
||||
}
|
||||
|
||||
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Frappe LMS VERSION\n"
|
||||
"Report-Msgid-Bugs-To: jannat@frappe.io\n"
|
||||
"POT-Creation-Date: 2024-10-18 16:04+0000\n"
|
||||
"PO-Revision-Date: 2024-10-18 16:04+0000\n"
|
||||
"POT-Creation-Date: 2024-10-25 10:37+0000\n"
|
||||
"PO-Revision-Date: 2024-10-25 10:37+0000\n"
|
||||
"Last-Translator: jannat@frappe.io\n"
|
||||
"Language-Team: jannat@frappe.io\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -2309,7 +2309,7 @@ msgstr ""
|
||||
msgid "Jobs"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/LiveClass.vue:53
|
||||
#: frontend/src/components/LiveClass.vue:54
|
||||
#: lms/templates/upcoming_evals.html:15
|
||||
msgid "Join"
|
||||
msgstr ""
|
||||
@@ -3068,7 +3068,7 @@ msgstr ""
|
||||
msgid "No jobs posted"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/LiveClass.vue:59
|
||||
#: frontend/src/components/LiveClass.vue:60
|
||||
msgid "No live classes scheduled"
|
||||
msgstr ""
|
||||
|
||||
@@ -4233,7 +4233,7 @@ msgstr ""
|
||||
msgid "Stage"
|
||||
msgstr ""
|
||||
|
||||
#: frontend/src/components/LiveClass.vue:45 frontend/src/components/Quiz.vue:65
|
||||
#: frontend/src/components/LiveClass.vue:46 frontend/src/components/Quiz.vue:65
|
||||
#: lms/templates/quiz/quiz.html:39
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user