Feature #588 » destroy.rhtml
1 |
<h2><%=l(:label_confirmation)%></h2> |
---|---|
2 |
<div class="box"> |
3 |
<center>
|
4 |
<table class="list"> |
5 |
<thead>
|
6 |
<th><%= l(:label_date) %></th> |
7 |
<th><%= l(:label_member) %></th> |
8 |
<th><%= l(:label_activity) %></th> |
9 |
<th><%= l(:label_issue) %></th> |
10 |
<th><%= l(:field_comments) %></th> |
11 |
<th><%= l(:field_hours) %></th> |
12 |
</thead>
|
13 |
<tbody>
|
14 |
<tr class="even"> |
15 |
<td align="center"><%= format_date(@time_entry_to_destroy.spent_on) %></td> |
16 |
<td align="center"><%= @time_entry_to_destroy.user.name %></td> |
17 |
<td align="center"><%= @time_entry_to_destroy.activity.name %></td> |
18 |
<td align="center"> |
19 |
<% if @time_entry_to_destroy.issue %> |
20 |
<div class="tooltip"> |
21 |
<%= link_to_issue @time_entry_to_destroy.issue %> |
22 |
<span class="tip"> |
23 |
<%= render_issue_tooltip @time_entry_to_destroy.issue %> |
24 |
</span>
|
25 |
</div>
|
26 |
<% end %> |
27 |
</td>
|
28 |
<td><%=h @time_entry_to_destroy.comments %></td> |
29 |
<td align="center"><strong><%= @time_entry_to_destroy.hours %></strong></td> |
30 |
</tr>
|
31 |
</tbdoy>
|
32 |
</table>
|
33 |
<p><%=l(:text_timelog_destroy_confirmation)%></p> |
34 |
|
35 |
<p>
|
36 |
<% form_tag({:controller => 'timelog', :action => 'destroy', :id => @time_entry_to_destroy}) do %> |
37 |
<%= hidden_field_tag "confirm", 1 %> |
38 |
<%= submit_tag l(:button_delete) %> |
39 |
<% end %> |
40 |
</p>
|
41 |
</center>
|
42 |
</div>
|