added text-templates for mail notification

This commit is contained in:
Thomas Berger 2013-01-11 17:53:30 +01:00 committed by Dmitriy Zaporozhets
parent 6682689ab2
commit 7ed0878654
12 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,4 @@
Issue was <%= @issue_status %> by <%= @updated_by.name %>
Issue <%= @issue.id %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>

View file

@ -0,0 +1,4 @@
New Issue was created and assigned to you.
Issue <%= @issue.id %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>

View 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 %>

View 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) %>

View 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 %>

View 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 %>

View 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 %>

View 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 %>

View 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)) %>

View 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 %>

View 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 %>

View 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 %>