fix: styles

This commit is contained in:
Jannat Patel
2022-09-13 13:03:21 +05:30
parent 99c886a9cb
commit 15b832eefb
3 changed files with 2 additions and 5 deletions

View File

@@ -1409,7 +1409,7 @@ pre {
color: var(--text-color);
}
.lma.nav .nav-link:hover {
.lms-nav .nav-link:hover {
color: inherit;
}

View File

@@ -18,7 +18,7 @@
</div>
{% else %}
{% set course_list_link = "<a href='/courses'> course list </a>" %}
{% set course_list_link = "<a href='/courses'>course list</a>" %}
<div class="empty-state">
<img class="icon icon-xl" src="/assets/lms/icons/comment.svg">
<div class="empty-state-text">

View File

@@ -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):