15 lines
614 B
Plaintext
15 lines
614 B
Plaintext
%p== Здравствуйте, #{@user.user_appeal}.
|
|
|
|
- if @comment.commentable.class == Issue
|
|
- link = link_to @comment.commentable.title, project_issue_url(@comment.commentable.project, @comment.commentable)
|
|
- object = 'задаче'
|
|
- elsif @comment.commit_comment?
|
|
- link = link_to @comment.commentable.message, commit_url(@comment.project, @comment.commentable_id)
|
|
- object = 'коммиту'
|
|
%p #{ link_to @comment.user.uname, user_url(@comment.user)} добавил комментарий к #{object} #{link}.
|
|
|
|
%p "#{ @comment.body }"
|
|
|
|
|
|
%p== Команда поддержки «ROSA Build System»
|