12 lines
706 B
Plaintext
12 lines
706 B
Plaintext
-user= User.where(:email => user_email).first || User.new(:email => user_email) if defined?(user_email)
|
|
.top
|
|
.image= link_to(image_tag(avatar_url(user, :small), :alt => 'avatar'), user_path(user)) if user.persisted?
|
|
.text
|
|
%span
|
|
= raw t("notifications.bodies.new_issue_notification", { :user_link => user.persisted? ? link_to(user_name, user_path(user)) : user_name, :issue_link => project_issue_path(project_owner, project_name, issue_serial_id)})
|
|
= raw t("notifications.bodies.project", :project_link => link_to("#{project_owner}/#{project_name}", project_path(project_owner, project_name)) )
|
|
.both
|
|
%span.date= activity_feed.created_at
|
|
.both
|
|
%span.subject= issue_title
|