diff --git a/lms/public/css/style.css b/lms/public/css/style.css index 272acabb..62d0b8a0 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -1409,7 +1409,7 @@ pre { color: var(--text-color); } -.lma.nav .nav-link:hover { +.lms-nav .nav-link:hover { color: inherit; } diff --git a/lms/templates/certificates_section.html b/lms/templates/certificates_section.html index a60a8b5c..16935676 100644 --- a/lms/templates/certificates_section.html +++ b/lms/templates/certificates_section.html @@ -18,7 +18,7 @@ {% else %} -{% set course_list_link = " course list " %} +{% set course_list_link = "course list" %}
diff --git a/lms/www/profiles/profile.py b/lms/www/profiles/profile.py index 921dd658..ddbdf481 100644 --- a/lms/www/profiles/profile.py +++ b/lms/www/profiles/profile.py @@ -1,6 +1,5 @@ import frappe from lms.page_renderers import get_profile_url_prefix -from frappe.utils.jinja import render_template def get_context(context): @@ -21,8 +20,6 @@ def get_context(context): return context.profile_tabs = get_profile_tabs(context.member) - template_name = frappe.db.get_single_value("LMS Settings", "custom_certificate_template") - context.custom_certificate_template = frappe.db.get_value("Web Template", template_name, "template") def get_profile_tabs(user):