2013-02-22 14:43:51 +00:00
|
|
|
-user= User.where(:email => user_email).first || User.new(:email => user_email) if defined?(user_email)
|
2012-03-05 09:11:50 +00:00
|
|
|
.top
|
2013-02-22 14:43:51 +00:00
|
|
|
.image= link_to(image_tag(avatar_url(user, :small), :alt => 'avatar'), user_path(user)) if user.persisted?
|
2012-03-05 09:11:50 +00:00
|
|
|
.text
|
2012-03-13 18:47:37 +00:00
|
|
|
%span
|
2013-02-25 07:50:53 +00:00
|
|
|
= raw t("notifications.bodies.new_comment_notification.title", {:user_link => user_link(user, user_name)})
|
2012-10-08 10:14:31 +01:00
|
|
|
= raw t("notifications.bodies.new_comment_notification.content", {:issue_link => link_to(issue_title, project_issue_path(project_owner, project_name, issue_serial_id) + "#comment#{comment_id}")})
|
2012-04-19 20:45:50 +01:00
|
|
|
= raw t("notifications.bodies.project", :project_link => link_to("#{project_owner}/#{project_name}", project_path(project_owner, project_name)) )
|
2012-03-11 17:30:14 +00:00
|
|
|
.both
|
2013-09-01 13:59:05 +01:00
|
|
|
= datetime_moment activity_feed.created_at, :tag => :span, :class => 'date'
|
2012-03-05 09:11:50 +00:00
|
|
|
.both
|
2012-03-14 17:00:26 +00:00
|
|
|
%span.subject= comment_body
|