From 0c23ead3985d1f2955bda48db741f19c141d5615 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 4 Nov 2022 10:46:48 +0530 Subject: [PATCH] fix: tab urls --- lms/www/courses/index.html | 15 +++++++++++---- lms/www/courses/index.js | 18 ++++++++++++++++++ lms/www/profiles/profile.js | 22 ++++++++++++++++++++-- 3 files changed, 49 insertions(+), 6 deletions(-) diff --git a/lms/www/courses/index.html b/lms/www/courses/index.html index 85a55751..b05d8e05 100644 --- a/lms/www/courses/index.html +++ b/lms/www/courses/index.html @@ -33,12 +33,19 @@ {{ _("All Courses") }} - {% if show_creators_section %}
- {{ _("Visit Dashboard") }} - {{ _("Create a Course") }} + {% if frappe.session.user %} + + {{ _("Visit Dashboard") }} + + {% endif %} + + {% if show_creators_section %} + + {{ _("Create a Course") }} + + {% endif %}
- {% endif %}