chore: logging user
This commit is contained in:
@@ -13,7 +13,7 @@ frappe.ui.form.on('LMS Course', {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
frm.set_query("instructor", function (doc) {
|
frm.set_query("instructor", "instructors", function () {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
"ignore_user_type": 1,
|
"ignore_user_type": 1,
|
||||||
@@ -28,6 +28,6 @@ frappe.ui.form.on('LMS Course', {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
{% set portal_course_creation = frappe.db.get_single_value("LMS Settings", "portal_course_creation") %}
|
{% set portal_course_creation = frappe.db.get_single_value("LMS Settings", "portal_course_creation") %}
|
||||||
{% set show_creators_section = portal_course_creation == "Anyone" or has_course_instructor_role() %}
|
{% set show_creators_section = portal_course_creation == "Anyone" or has_course_instructor_role() %}
|
||||||
|
{{ frappe.session.user }}
|
||||||
<div class="common-page-style dashboard">
|
<div class="common-page-style dashboard">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user