commit | 278ef4bf732d339d904082da0ecd7dc0da2e18ee | [log] [tgz] |
---|---|---|
author | Shivam Mishra <scm.mymail@gmail.com> | Wed Jun 12 14:53:00 2019 +0530 |
committer | Shivam Mishra <scm.mymail@gmail.com> | Wed Jun 12 14:53:00 2019 +0530 |
tree | 2b72791e40bbc3b16b2208936c430c5c0479d891 | |
parent | 6a2de2794119f402b2ce891b8f9bd01645af7bc6 [diff] [blame] |
fix: template fix for null_card
diff --git a/erpnext/www/lms/topic.html b/erpnext/www/lms/topic.html index 3e439fc..1f0d187 100644 --- a/erpnext/www/lms/topic.html +++ b/erpnext/www/lms/topic.html
@@ -48,7 +48,7 @@ {{ card(content, loop.index, topic.contents|length) }} {% endfor %} {% if contents %} - {% for n in range((contents|length)%3) %} + {% for n in range( (3 - (contents|length)) %3) %} {{ null_card() }} {% endfor %} {% endif %}