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

11 lines
512 B
Plaintext
Raw Normal View History

2012-01-15 18:10:50 +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
2013-03-22 16:46:26 +00:00
= 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}"
2012-09-19 18:35:43 +01:00
= render "projects/comments/markdown_help"