2014-01-21 04:51:49 +00:00
|
|
|
%a{ name: "comments" }
|
2012-02-29 15:04:33 +00:00
|
|
|
.hr
|
2012-06-05 19:13:20 +01:00
|
|
|
%h3#block-list= t("layout.comments.comments_header")
|
2012-02-29 15:04:33 +00:00
|
|
|
- list.each do |comment|
|
2013-04-02 09:35:25 +01:00
|
|
|
-unless comment.created_from_commit_hash
|
2014-01-21 04:51:49 +00:00
|
|
|
= render 'projects/comments/comment', comment: comment, data: {project: project, commentable: commentable}
|
2013-03-22 17:17:10 +00:00
|
|
|
-else
|
2014-01-21 04:51:49 +00:00
|
|
|
- GitPresenters::CommitAsMessagePresenter.present(nil, comment: comment) do |presenter|
|
|
|
|
= render 'shared/feed_message', presenter: presenter, item_no: "-#{comment.id}"
|
2012-09-19 18:35:43 +01:00
|
|
|
= render "projects/comments/markdown_help"
|