diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-10-12 17:40:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-10-12 17:40:06 +0000 |
commit | 80ca181239e51581f4dc1b350330ba66aac400a0 (patch) | |
tree | 3bae4c075bb4dab7d3c2c2dd5bc722c499489934 /app/views | |
parent | bc21fbb8b788b7fb2381021e67279e4820a3d008 (diff) | |
download | redmine-80ca181239e51581f4dc1b350330ba66aac400a0.tar.gz redmine-80ca181239e51581f4dc1b350330ba66aac400a0.zip |
Merged r16971 (#27186).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16974 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_list.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 26287e75c..0bb2a6747 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -28,7 +28,9 @@ <% end %> <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td> - <%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %> + <% query.inline_columns.each do |column| %> + <%= content_tag('td', column_content(column, issue), :class => column.css_classes) %> + <% end %> </tr> <% @query.block_columns.each do |column| if (text = column_content(column, issue)) && text.present? -%> |