Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/issue_cloned_email.html.haml')
-rw-r--r--app/views/notify/issue_cloned_email.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/notify/issue_cloned_email.html.haml b/app/views/notify/issue_cloned_email.html.haml
new file mode 100644
index 00000000000..a9e21e74e22
--- /dev/null
+++ b/app/views/notify/issue_cloned_email.html.haml
@@ -0,0 +1,7 @@
+- 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) }