related_issues_view_done_ratio_r2769.diff

Samuel Krieg, 2009-05-27 16:38

Download (1006 Bytes)

View differences:

app/views/issues/_relations.rhtml (working copy)
16 16
<td><%= relation.other_issue(@issue).status.name %></td>
17 17
<td><%= format_date(relation.other_issue(@issue).start_date) %></td>
18 18
<td><%= format_date(relation.other_issue(@issue).due_date) %></td>
19
<td class="progress"><%= progress_bar relation.other_issue(@issue).done_ratio, :width => '80px', :legend => "#{relation.other_issue(@issue).done_ratio}%" %></td>
19 20
<td><%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},                                              
20 21
                                                  :method => :post
21 22
                                                }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>