Interface: algumas mudancas para comportar melhor textos grandes
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
.cmd
|
||||
= action_icon 'edit', 'Editar', edit_course_news_url(@course, n)
|
||||
= action_icon 'trash', 'Excluir', course_news_url(@course, n), :confirm => 'Tem certeza que deseja excluir?', :method => :delete
|
||||
= h(n.body)
|
||||
= formatted(n.body)
|
||||
= "Sem descrição" if n.body.empty?
|
||||
- else
|
||||
.box
|
||||
|
||||
@@ -8,7 +8,7 @@ xml.rss(:version=>"2.0") do
|
||||
for news_item in @news
|
||||
xml.item do
|
||||
xml.title(news_item.title)
|
||||
xml.description(news_item.body)
|
||||
xml.description(formatted(news_item.body))
|
||||
xml.pubDate(news_item.timestamp.rfc2822)
|
||||
xml.link(course_news_url(@course, news_item))
|
||||
xml.guid(course_news_url(@course, news_item))
|
||||
|
||||
Reference in New Issue
Block a user