rosa-build/app/views/home/partials/_wiki_new_commit_notificati...

11 lines
656 B
Plaintext
Raw Normal View History

2013-02-22 14:43:51 +00:00
-user= User.where(:email => user_email).first || User.new(:email => user_email) if defined?(user_email)
.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?
.text
%span
2013-02-25 07:50:53 +00:00
= raw t("notifications.bodies.wiki_new_commit_notification", {:user_link => user_link(user, user_name), :history_link => link_to("wiki", history_project_wiki_index_path(project_owner, project_name))})
= 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
%span.date= activity_feed.created_at
.both