summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/_list.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:15:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:15:54 +0000
commit33e40548642d111471e7b21dba385a4a487ca642 (patch)
tree68b0ddc95507cd7af96577094546b95c1b9b25bd /app/views/timelog/_list.html.erb
parent80ca181239e51581f4dc1b350330ba66aac400a0 (diff)
downloadredmine-33e40548642d111471e7b21dba385a4a487ca642.tar.gz
redmine-33e40548642d111471e7b21dba385a4a487ca642.zip
Merged r16983 to r16985 (#27186).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog/_list.html.erb')
-rw-r--r--app/views/timelog/_list.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb
index 7ec60cdbd..88e79febc 100644
--- a/app/views/timelog/_list.html.erb
+++ b/app/views/timelog/_list.html.erb
@@ -18,7 +18,9 @@
<% entries.each do |entry| -%>
<tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu">
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td>
- <%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %>
+ <% @query.inline_columns.each do |column| %>
+ <%= content_tag('td', column_content(column, entry), :class => column.css_classes) %>
+ <% end %>
<td class="buttons">
<% if entry.editable_by?(User.current) -%>
<%= link_to image_tag('edit.png'), edit_time_entry_path(entry),