redmine/app/views/news/_news.html.erb
Toshi MARUYAMA c459649b52 rename .rhtml to .html.erb of app/views/news/_news.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:18:17 +00:00

7 lines
384 B
Plaintext

<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 %>
<span class="author"><%= authoring news.created_on, news.author %></span></p>