rosa-build/app/views/projects/comments/_list.html.haml

11 lines
488 B
Plaintext
Raw Normal View History

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|
-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}
-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"