Merge branch 'features/text_mail_templates'
This commit is contained in:
commit
d452ffc2d0
12 changed files with 87 additions and 0 deletions
4
app/views/notify/issue_status_changed_email.text.erb
Normal file
4
app/views/notify/issue_status_changed_email.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
Issue was <%= @issue_status %> by <%= @updated_by.name %>
|
||||
|
||||
Issue <%= @issue.id %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>
|
||||
|
4
app/views/notify/new_issue_email.text.erb
Normal file
4
app/views/notify/new_issue_email.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
New Issue was created and assigned to you.
|
||||
|
||||
|
||||
Issue <%= @issue.id %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>
|
9
app/views/notify/new_merge_request_email.text.erb
Normal file
9
app/views/notify/new_merge_request_email.text.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
New Merge Request <%= @merge_request.id %>
|
||||
|
||||
<%= url_for(project_merge_request_url(@merge_request.project, @merge_request)) %>
|
||||
|
||||
|
||||
Branches: <%= @merge_request.source_branch %> to <%= @merge_request.target_branch %>
|
||||
Author: <%= @merge_request.author_name %>
|
||||
Asignee: <%= @merge_request.assignee_name %>
|
||||
|
8
app/views/notify/new_user_email.text.erb
Normal file
8
app/views/notify/new_user_email.text.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
Hi <%= @user.name %>!
|
||||
|
||||
Administrator created account for you. Now you are a member of company GitLab application.
|
||||
|
||||
login.................. <%= @user.email %>
|
||||
password............... <%= @password %>
|
||||
|
||||
Click here to login: <%= url_for(root_url) %>
|
9
app/views/notify/note_commit_email.text.erb
Normal file
9
app/views/notify/note_commit_email.text.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
New comment for Commit <%= @commit.short_id %>
|
||||
|
||||
<%= url_for(project_commit_url(@note.project, id: @commit.id, anchor: "note_#{@note.id}")) %>
|
||||
|
||||
|
||||
Author: <%= @note.author_name %>
|
||||
|
||||
<%= @note.note %>
|
||||
|
9
app/views/notify/note_issue_email.text.erb
Normal file
9
app/views/notify/note_issue_email.text.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
New comment for Issue <%= @issue.id %>
|
||||
|
||||
<%= url_for(project_issue_url(@issue.project, @issue, anchor: "note_#{@note.id}")) %>
|
||||
|
||||
|
||||
Author: <%= @note.author_name %>
|
||||
|
||||
<%= @note.note %>
|
||||
|
9
app/views/notify/note_merge_request_email.text.erb
Normal file
9
app/views/notify/note_merge_request_email.text.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
New comment for Merge Request <%= @merge_request.id %>
|
||||
|
||||
<%= url_for(project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")) %>
|
||||
|
||||
|
||||
<%= @note.author_name %>
|
||||
|
||||
<%= @note.note %>
|
||||
|
9
app/views/notify/note_wall_email.text.erb
Normal file
9
app/views/notify/note_wall_email.text.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
New message on the project wall <%= @note.project %>
|
||||
|
||||
<%= url_for(wall_project_url(@note.project, anchor: "note_#{@note.id}")) %>
|
||||
|
||||
|
||||
<%= @note.author_name %>
|
||||
|
||||
<%= @note.note %>
|
||||
|
4
app/views/notify/project_access_granted_email.text.erb
Normal file
4
app/views/notify/project_access_granted_email.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
You have been granted <%= @users_project.project_access_human %> access to project <%= @project.name_with_namespace %>
|
||||
|
||||
<%= url_for(project_url(@project)) %>
|
8
app/views/notify/project_was_moved_email.text.erb
Normal file
8
app/views/notify/project_was_moved_email.text.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
Project was moved to another location
|
||||
|
||||
The project is now located under
|
||||
<%= url_for(link_to project_url(@project)) %>
|
||||
|
||||
|
||||
To update the remote url in your local repository run:
|
||||
git remote set-url origin <%= @project.ssh_url_to_repo %>
|
7
app/views/notify/reassigned_issue_email.text.erb
Normal file
7
app/views/notify/reassigned_issue_email.text.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
Reassigned Issue <%= @issue.id %>
|
||||
|
||||
<%= url_for(project_issue_url(@issue.project, @issue)) %>
|
||||
|
||||
|
||||
Assignee changed from <%= @previous_assignee.name %> to <%= @issue.assignee_name %>
|
||||
|
7
app/views/notify/reassigned_merge_request_email.text.erb
Normal file
7
app/views/notify/reassigned_merge_request_email.text.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
Reassigned Merge Request <%= @merge_request.id %>
|
||||
|
||||
<%= url_for(project_merge_request_url(@merge_request.project, @merge_request)) %>
|
||||
|
||||
|
||||
Assignee changed from <%= @previous_assignee.name %> to <%= @merge_request.assignee_name %>
|
||||
|
Loading…
Reference in a new issue