rosa-build/app/views/activity_feeds/partials/_new_comment_notification.haml

13 lines
736 B
Plaintext
Raw Normal View History

.top
.image
2012-03-11 17:06:41 +00:00
= image_tag(avatar_url_by_email(user_email, :small), :alt => 'avatar')
.text
%span
= raw t("notifications.bodies.new_comment_notification.title", {:user_link => link_to(user_name, user_path(user_id))})
= raw t("notifications.bodies.new_comment_notification.content", {:issue_link => link_to(issue_title, project_issue_path(project_id, issue_serial_id))})
2012-03-14 14:40:41 +00:00
= raw t("notifications.bodies.project", :project_link => link_to(project_name, project_path(project_id))) if defined?(project_name)
2012-03-11 17:30:14 +00:00
.both
%span.date= activity_feed.created_at
.both
%span.subject= link_to comment_body, project_issue_path(project_id, issue_serial_id) + (defined?(comment_id) ? "#comment##{comment_id}" : '')