summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/news/index.rhtml2
-rw-r--r--app/views/news/show.rhtml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml
index b958c475e..c6bb9ad5a 100644
--- a/app/views/news/index.rhtml
+++ b/app/views/news/index.rhtml
@@ -24,7 +24,9 @@
<%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %>
<%= "(#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase})" if news.comments_count > 0 %></h3>
<p class="author"><%= authoring news.created_on, news.author %></p>
+ <div class="wiki">
<%= textilizable(news.description) %>
+ </div>
<% end %>
<% end %>
<p class="pagination"><%= pagination_links_full @news_pages %></p>
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index e0cd09990..bff737f40 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -19,7 +19,9 @@
<p><em><% unless @news.summary.empty? %><%=h @news.summary %><br /><% end %>
<span class="author"><%= authoring @news.created_on, @news.author %></span></em></p>
+<div class="wiki">
<%= textilizable(@news.description) %>
+</div>
<br />
<div id="comments" style="margin-bottom:16px;">