Interface: algumas mudancas para comportar melhor textos grandes

This commit is contained in:
2008-03-12 18:54:13 -03:00
parent 5d51f929c6
commit 0016397a89
8 changed files with 10 additions and 7 deletions

View File

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