feat: added topic progress api
diff --git a/erpnext/www/lms/course.html b/erpnext/www/lms/course.html
index ee3b975..199fc16 100644
--- a/erpnext/www/lms/course.html
+++ b/erpnext/www/lms/course.html
@@ -67,9 +67,7 @@
</div>
{% if has_access %}
<div class='card-footer'>
- {% if index==1 %} <span class="indicator green"> Completed </span>
- {% else %} <span class="indicator orange"> Completed </span>
- {% endif %}
+ <span class="indicator {{ progress[topic.name].indicator }}"> {{ progress[topic.name].label }} </span>
</div>
</a>
{% else %}