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

11 lines
512 B
Plaintext

%a{ :name => "comments" }
.hr
%h3#block-list= t("layout.comments.comments_header")
- list.each do |comment|
-unless comment.created_from_commit_hash
= render 'projects/comments/comment', :comment => comment, :data => {:project => project, :commentable => commentable}
-else
- GitPresenters::CommitAsMessagePresenter.present(nil, :comment => comment) do |presenter|
= render 'shared/feed_message', :presenter => presenter, :item_no => "-#{comment.id}"
= render "projects/comments/markdown_help"