|
|
|
@ -46,8 +46,8 @@ review = issue.code_review
|
|
|
|
|
%>
|
|
|
|
|
<%= l(:label_revision) + " "%>
|
|
|
|
|
<%= link_to_revision(assignment.revision, repo) %>
|
|
|
|
|
<% elsif assignment.attachment %>
|
|
|
|
|
<%= link_to(assignment.attachment.filename, :controller => 'attachments', :action => 'show', :id => attachment.id) %>
|
|
|
|
|
<% elsif assignment.respond_to?("attachment") && assignment.attachment %>
|
|
|
|
|
<%= link_to(assignment.attachment.filename.to_s, :controller => 'attachments', :action => 'show', :id => assignment.attachment.id) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|