Commit 83d9c627 authored by Francisco Juan's avatar Francisco Juan

Textilize news on sidebars

parent deda6f69
<hr />
<p><%= link_to_project(news.project) + ': ' unless @project %>
<%= link_to h(news.title), news_path(news) %>
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
<br />
<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
<% unless news.summary.blank? %><span class="summary"><%= textilizable(news.summary) %></span><% end %>
<span class="author"><%= authoring news.created_on, news.author %></span></p>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment