1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 19:01:14 +00:00
redmine/app/views/imports/_time_entries_saved_objects.html.erb
Go MAEDA 6fd9d9ed73 Import time entries (#28234).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 08:05:37 +00:00

25 lines
788 B
Plaintext

<table id="saved-items" class="list">
<thead>
<tr>
<th><%= t(:field_project) %></th>
<th><%= t(:field_activity) %></th>
<th><%= t(:field_issue) %></th>
<th><%= t(:field_spent_on) %></th>
<th><%= t(:field_hours) %></th>
<th><%= t(:field_comments) %></th>
</tr>
</thead>
<tbody>
<% saved_objects.each do |time_entry| %>
<tr>
<td><%= link_to_project(time_entry.project, :jump => 'time_entries') if time_entry.project %></td>
<td><%= time_entry.activity.name if time_entry.activity %></td>
<td><%= link_to_issue time_entry.issue if time_entry.issue %></td>
<td><%= format_date(time_entry.spent_on) %></td>
<td><%= l_hours_short(time_entry.hours) %></td>
<td><%= time_entry.comments %></td>
</tr>
<% end %>
</tbody>
</table>