2012-03-19 14:33:56 +00:00
|
|
|
%p== Здравствуйте, #{@user.user_appeal}.
|
2012-01-22 16:17:55 +00:00
|
|
|
|
2012-04-04 22:43:06 +01:00
|
|
|
- if @comment.issue_comment?
|
2012-02-15 16:30:56 +00:00
|
|
|
- link = link_to @comment.commentable.title, project_issue_url(@comment.commentable.project, @comment.commentable)
|
2012-01-24 19:00:51 +00:00
|
|
|
- object = 'задаче'
|
2012-03-03 00:19:31 +00:00
|
|
|
- elsif @comment.commit_comment?
|
2012-02-15 16:30:56 +00:00
|
|
|
- link = link_to @comment.commentable.message, commit_url(@comment.project, @comment.commentable_id)
|
2012-01-24 19:00:51 +00:00
|
|
|
- object = 'коммиту'
|
2012-02-15 16:30:56 +00:00
|
|
|
%p #{ link_to @comment.user.uname, user_url(@comment.user)} добавил комментарий к #{object} #{link}.
|
2012-01-22 16:17:55 +00:00
|
|
|
|
|
|
|
%p "#{ @comment.body }"
|
|
|
|
|
|
|
|
|
2012-10-01 14:08:02 +01:00
|
|
|
= render 'footer'
|