rosa-build/app/views/projects/pull_requests/_discussion_comments.html.haml

16 lines
542 B
Plaintext
Raw Normal View History

2012-10-15 17:37:31 +01:00
-comment = item[1].first
.file
.top
.l=comment.data[:view_path]
-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
2012-10-18 13:51:28 +01:00
.diff_data=render_diff(comment.inline_diff, :diff_counter => 0, :comments => item[1], :filepath => comment.data[:path])