From b39ed081142afd082b5022c4bc2b8e5194ccf608 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 13 Jun 2015 11:15:14 +0000 Subject: [PATCH] Put news articles into
tags (#19339). Patch by An Phan. git-svn-id: http://svn.redmine.org/redmine/trunk@14308 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/news/index.html.erb | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 4560ac4fd..87eb98b4b 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -24,13 +24,17 @@

<%= l(:label_no_data) %>

<% else %> <% @newss.each do |news| %> -

<%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> - <%= link_to news.title, news_path(news) %> - <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>

-

<%= authoring news.created_on, news.author %>

-
- <%= textilizable(news, :description) %> -
+
+
+

<%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> + <%= link_to h(news.title), news_path(news) %> + <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>

+

<%= authoring news.created_on, news.author %>

+
+
+ <%= textilizable(news, :description) %> +
+
<% end %> <% end %>

<%= pagination_links_full @news_pages %>