diff --git a/community/hooks.py b/community/hooks.py
index 809562ac..6d04ed83 100644
--- a/community/hooks.py
+++ b/community/hooks.py
@@ -165,6 +165,7 @@ whitelist = [
"/add-a-new-batch",
"/new-sign-up",
"/message"
+ "/about"
]
whitelist_rules = [{"from_route": p, "to_route": p[1:]} for p in whitelist]
diff --git a/community/lms/doctype/lms_batch/lms_batch.json b/community/lms/doctype/lms_batch/lms_batch.json
index 1783be8f..257def0a 100644
--- a/community/lms/doctype/lms_batch/lms_batch.json
+++ b/community/lms/doctype/lms_batch/lms_batch.json
@@ -33,8 +33,7 @@
{
"fieldname": "title",
"fieldtype": "Data",
- "label": "Title",
- "unique": 1
+ "label": "Title"
},
{
"fieldname": "description",
@@ -120,7 +119,7 @@
"link_fieldname": "batch"
}
],
- "modified": "2021-05-26 16:43:57.399747",
+ "modified": "2021-06-16 10:51:05.403726",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Batch",
diff --git a/community/lms/web_form/add_a_new_batch/add_a_new_batch.json b/community/lms/web_form/add_a_new_batch/add_a_new_batch.json
index caf901ff..e792272c 100644
--- a/community/lms/web_form/add_a_new_batch/add_a_new_batch.json
+++ b/community/lms/web_form/add_a_new_batch/add_a_new_batch.json
@@ -19,7 +19,7 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
- "modified": "2021-06-14 15:28:08.206622",
+ "modified": "2021-06-15 18:49:50.530001",
"modified_by": "Administrator",
"module": "LMS",
"name": "add-a-new-batch",
@@ -38,7 +38,7 @@
{
"allow_read_on_all_link_options": 0,
"fieldname": "course",
- "fieldtype": "Link",
+ "fieldtype": "Data",
"hidden": 1,
"label": "Course",
"max_length": 0,
diff --git a/community/lms/widgets/ChapterTeaser.html b/community/lms/widgets/ChapterTeaser.html
index b0cf37c9..505c2d96 100644
--- a/community/lms/widgets/ChapterTeaser.html
+++ b/community/lms/widgets/ChapterTeaser.html
@@ -11,8 +11,7 @@
href="{{ course.get_learn_url(course.get_lesson_index(lesson.name)) }}" {% else %} href="" class="no-preview"
{% endif %} data-course="{{ course.name }}">{{ lesson.title }}
{% if show_progress and not course.is_mentor(frappe.session.user) and lesson.get_progress() %}
-
{{ lesson.get_progress() }}
+ {{ lesson.get_progress() }}
{% endif %}
{% endfor %}
diff --git a/community/www/courses/course.html b/community/www/courses/course.html
index 1401ef1f..d18dc765 100644
--- a/community/www/courses/course.html
+++ b/community/www/courses/course.html
@@ -75,12 +75,12 @@
{% endfor %}
-Add a new
+Add a new
batch
{% else %}