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

18 lines
541 B
Plaintext

.top
.image
= image_tag(avatar_url_by_email(user_email, :small), :alt => 'avatar')
.text
%span.name
= link_to user_name, user_path(user_id)
.both
%span.date= activity_feed.created_at
.both
.both
%span.subject #{ t("notifications.bodies.new_comment_notification.title", :user_name => user_name) }
.both
.fulltext
= raw t("notifications.bodies.new_comment_notification.content", {:issue_link => link_to(issue_title, project_issue_path(project_id, issue_serial_id))})
%br
%br
"#{ comment_body }"