{% for course in courses %}
<li><a href="{% url course_classroom course.slug %}">{{ course }}</a></li>
{% endfor %}

{% for course in courses %}
<li><a href="{% url course_classroom course.slug %}">{{ course|truncatechars:30 }}</a></li>
{% endfor %}

Truncate course's long titles in course selector
Truncate course's long titles in course selector
