2012-10-15 17:37:31 +01:00
|
|
|
-comment = item[1].first
|
|
|
|
.file
|
|
|
|
.top
|
|
|
|
.l=comment.data[:view_path]
|
2012-10-26 15:03:46 +01:00
|
|
|
-if comment.actual_inline_comment? @pull.diff
|
2012-10-17 19:38:42 +01:00
|
|
|
.r=link_to t("layout.pull_requests.view_full_changes"),
|
|
|
|
"#{project_commentable_path(@project, @commentable)}##{comment_anchor(comment)}",
|
|
|
|
:class => 'link_to_full_changes'
|
|
|
|
-else
|
|
|
|
.r
|
|
|
|
=t'projects.pull_requests.outdated_diff'
|
|
|
|
=image_tag 'x.png'
|
2012-10-15 17:37:31 +01:00
|
|
|
.clear
|
2013-03-28 11:04:07 +00:00
|
|
|
.diff_data=render_diff(comment.inline_diff, :diff_counter => diff_counter, :comments => item[1], :filepath => comment.data[:path], :diff_prefix => 'discussion')
|
2012-10-11 18:50:40 +01:00
|
|
|
|