Project

General

Profile

Feature #202 » textilize-news-summary_r3084.patch

Patch against trunk at r3084. - Mischa The Evil, 2009-11-22 22:34

View differences:

app/views/news/_news.rhtml (working copy)
<%= link_to h(news.title), :controller => 'news', :action => 'show', :id => 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><br /><% end %>
<span class="author"><%= authoring news.created_on, news.author %></span></p>
app/views/news/show.rhtml (working copy)
</div>
<% end %>
<p><em><% unless @news.summary.blank? %><%=h @news.summary %><br /><% end %>
<p><em><% unless @news.summary.blank? %><%= textilizable(@news.summary) %><br /><% end %>
<span class="author"><%= authoring @news.created_on, @news.author %></span></em></p>
<div class="wiki">
<%= textilizable(@news.description) %>
(4-4/12)