From d419656f2514062b4981f06a2a15b83190bcabe5 Mon Sep 17 00:00:00 2001 From: gzbender Date: Mon, 10 Sep 2018 20:51:56 +0500 Subject: [PATCH] LIL-601 --- apps/course/templates/course/_items.html | 2 +- apps/user/views.py | 2 +- web/src/sass/_common.sass | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/course/templates/course/_items.html b/apps/course/templates/course/_items.html index 94586e99..f27bd326 100644 --- a/apps/course/templates/course/_items.html +++ b/apps/course/templates/course/_items.html @@ -54,7 +54,7 @@ {% endif %} {{ course.title }} -
{{ course.short_description | safe | linebreaks }} +
{{ course.short_description | safe | linebreaks | truncatechars_html:300 }}