rosa-build/app/views/user_mailer/new_comment_notification.en...

15 lines
550 B
Plaintext
Raw Normal View History

2012-01-22 16:17:55 +00:00
%p== Hello, #{@user.name}.
- if @comment.commentable.class == Issue
- link = link_to @comment.commentable.title, project_issue_url(@comment.commentable.project, @comment.commentable)
2012-01-22 16:17:55 +00:00
- object = 'issue'
- elsif @comment.commentable.class == Grit::Commit
- link = link_to @comment.commentable.message, commit_url(@comment.project, @comment.commentable_id)
2012-01-22 16:17:55 +00:00
- object = 'commit'
%p #{ link_to @comment.user.uname, user_url(@comment.user)} added new comment to #{object} #{link}.
2012-01-22 16:17:55 +00:00
%p "#{ @comment.body }"
%p== Support team «ROSA Build System»