chore: renamed get_topic_meta
to get_student_topic_details
This commit is contained in:
parent
d5973fe4bc
commit
d78c326f95
@ -97,7 +97,7 @@ export default {
|
|||||||
if(content_type == 'Quiz') return 'fa fa-question-circle-o'
|
if(content_type == 'Quiz') return 'fa fa-question-circle-o'
|
||||||
},
|
},
|
||||||
getTopicMeta() {
|
getTopicMeta() {
|
||||||
return lms.call('get_topic_meta', {
|
return lms.call('get_student_topic_details', {
|
||||||
topic_name: this.topic.name,
|
topic_name: this.topic.name,
|
||||||
course_name: this.course_name,
|
course_name: this.course_name,
|
||||||
})
|
})
|
||||||
|
@ -195,7 +195,7 @@ def get_student_course_details(course_name, program_name):
|
|||||||
return {'flag':'Continue'}
|
return {'flag':'Continue'}
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def get_topic_meta(topic_name, course_name):
|
def get_student_topic_details(topic_name, course_name):
|
||||||
"""
|
"""
|
||||||
Return the porgress of a course in a program as well as the content to continue from.
|
Return the porgress of a course in a program as well as the content to continue from.
|
||||||
:param topic_name:
|
:param topic_name:
|
||||||
|
Loading…
Reference in New Issue
Block a user