Project

General

Profile

add_hook_view_timelog_index_list_after_entry.diff

Bishma Stornelli Ortega, 2013-02-20 22:52

View differences:

app/views/timelog/_list.html.erb (copia de trabajo)
23 23
</thead>
24 24
<tbody>
25 25
<% entries.each do |entry| -%>
26
<tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu">
26
<tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu" id="time-entry-<%= entry.id %>">
27 27
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td>
28 28
<td class="spent_on"><%= format_date(entry.spent_on) %></td>
29 29
<td class="user"><%= link_to_user(entry.user) %></td>
......
48 48
<% end -%>
49 49
</td>
50 50
</tr>
51
<%= call_hook(:view_timelog_index_list_after_entry, {:entry => entry}) %>
51 52
<% end -%>
52 53
</tbody>
53 54
</table>
(1-1/2)