2012-01-24 19:00:51 +00:00
|
|
|
%p== Здравствуйте, #{@user.name}.
|
2012-01-22 16:17:55 +00:00
|
|
|
|
|
|
|
- if @comment.commentable.class == Issue
|
|
|
|
- link = link_to @comment.commentable.title, [@comment.commentable.project, @comment.commentable]
|
2012-01-24 19:00:51 +00:00
|
|
|
- object = 'задаче'
|
2012-01-22 16:17:55 +00:00
|
|
|
- elsif @comment.commentable.class == Grit::Commit
|
|
|
|
- link = link_to @comment.commentable.message, commit_path(@comment.project, @comment.commentable_id])
|
2012-01-24 19:00:51 +00:00
|
|
|
- object = 'коммиту'
|
|
|
|
%p #{ link_to @comment.user.uname, user_path(@comment.user)} добавил комментарий к #{object} #{link}.
|
2012-01-22 16:17:55 +00:00
|
|
|
|
|
|
|
%p "#{ @comment.body }"
|
|
|
|
|
|
|
|
|
2012-01-24 19:00:51 +00:00
|
|
|
%p== Команда поддержки «ROSA Build System»
|