|
|
@ -22,7 +22,7 @@
|
|
|
|
= link_to(h(n.course.full_name), course_url(n.course)) + " ›"
|
|
|
|
= link_to(h(n.course.full_name), course_url(n.course)) + " ›"
|
|
|
|
= link_to(h(n.title), course_news_url(n.course, n))
|
|
|
|
= link_to(h(n.title), course_news_url(n.course, n))
|
|
|
|
- unless n.body.empty?
|
|
|
|
- unless n.body.empty?
|
|
|
|
%p= truncate(n.body, 300)
|
|
|
|
%p= truncate(h(n.body), 300)
|
|
|
|
|
|
|
|
|
|
|
|
.box
|
|
|
|
.box
|
|
|
|
.cmd
|
|
|
|
.cmd
|
|
|
|