summaryrefslogtreecommitdiff
path: root/app/views/notify/project_was_moved_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/project_was_moved_email.html.haml')
-rw-r--r--app/views/notify/project_was_moved_email.html.haml25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/views/notify/project_was_moved_email.html.haml b/app/views/notify/project_was_moved_email.html.haml
new file mode 100644
index 00000000000..e81ae70ba5a
--- /dev/null
+++ b/app/views/notify/project_was_moved_email.html.haml
@@ -0,0 +1,25 @@
+%td.content{align: "left", style: "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", valign: "top", width: "600"}
+ %table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #555; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
+ %tr
+ %td{width: "21"}
+ %td
+ %h3
+ = "Project was moved in another location"
+ %td{width: "21"}
+ %tr
+ %td{width: "21"}
+ %td
+ %p
+ Project is now accessible via next link
+ = link_to project_url(@project) do
+ = @project.name_with_namespace
+ %p
+ You may want to update your local repository with new remote:
+ %br
+ %table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
+ %tr
+ %td{valign: "top"}
+ %p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" }
+ git remote set-url origin #{@project.ssh_url_to_repo}
+ %br
+ %td{ width: "21"}