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

9 lines
530 B
Plaintext

- user = User.where(email: creator_email).first || User.new(email: creator_email) if defined?(creator_email)
%p
- _user_link = defined?(creator_email) ? user_link(user, defined?(creator_name) ? creator_name : creator_email, true) : nil
= t('notifications.bodies.delete_branch', branch_name: branch_name, user_link: _user_link).html_safe
- name_with_owner = "#{project_owner}/#{project_name}"
= raw t("notifications.bodies.project", project_link: link_to(name_with_owner, project_url(name_with_owner)) )
= render 'footer'