debian-mirror-gitlab/app/views/notify/issue_cloned_email.html.haml
2021-02-22 17:27:13 +05:30

7 lines
432 B
Text

- author_link = link_to @author.name, user_url(@author)
- if @can_access_project
- string = _("%{author_link} cloned %{original_issue} to %{new_issue}.").html_safe
- else
- string = _("%{author_link} cloned %{original_issue}. You don't have access to the new project.").html_safe
%p
= string % { author_link: author_link, original_issue: issue_reference_link(@issue), new_issue: issue_reference_link(@new_issue, full: true) }