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/index.html b/erpnext/www/lms/index.html index 0114235..ffb4419 100644 --- a/erpnext/www/lms/index.html +++ b/erpnext/www/lms/index.html
@@ -55,7 +55,7 @@ {{ program_card(program.program, program.has_access) }} {% endfor %} {% if featured_programs %} - {% for n in range((featured_programs|length)%3) %} + {% for n in range( (3 - (featured_programs|length)) %3) %} {{ null_card() }} {% endfor %} {% endif %}