rosa-build/app/views/user_mailer/git_delete_branch_notificat...

8 lines
498 B
Plaintext
Raw Normal View History

2013-11-26 17:21:50 +00:00
- user = User.where(:email => user_email).first || User.new(:email => user_email) if defined?(user_email)
%p
2013-11-26 18:39:30 +00:00
- _user_link = defined?(user_email) ? user_link(user, defined?(user_name) ? user_name : user_email, true) : nil
2013-11-26 17:21:50 +00:00
= t('notifications.bodies.delete_branch', :branch_name => branch_name, :user_link => _user_link).html_safe
2013-11-26 18:39:30 +00:00
= raw t("notifications.bodies.project", :project_link => link_to("#{project_owner}/#{project_name}", project_url(project_owner, project_name)) )
2013-11-26 17:21:50 +00:00
= render 'footer'