rails 3 fixes

This commit is contained in:
2013-07-14 11:11:18 -04:00
parent e563725dc5
commit 0991d7af8e
46 changed files with 164 additions and 129 deletions

View File

@@ -19,7 +19,7 @@
%td.top.aright
= n.timestamp.strftime("%d de %B")
%td
= 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_instance_url(n.course, n))
- unless n.body.empty?
%p= truncate(h(n.body), :length => 300)
@@ -42,7 +42,7 @@
%td.top
= n.time.strftime("%H:%M")
%td.top
= 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_event_url(n.course, n))
.box