diff options
| author | Stan Hu <stanhu@gmail.com> | 2016-04-29 16:02:28 -0700 |
|---|---|---|
| committer | Stan Hu <stanhu@gmail.com> | 2016-05-02 11:01:32 -0700 |
| commit | f64b82e1da47e0f0b4e0f6e91746ed95a98105dd (patch) | |
| tree | c01800db3b988b88bedf3f72311750811ae8c1fb /app/views | |
| parent | 0652d92526cb504be076c059f76360b4c876135b (diff) | |
| download | gitlab-ce-f64b82e1da47e0f0b4e0f6e91746ed95a98105dd.tar.gz | |
Support e-mail notifications for comments on project snippets
Closes #2334
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/notify/note_snippet_email.html.haml | 1 | ||||
| -rw-r--r-- | app/views/notify/note_snippet_email.text.erb | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/notify/note_snippet_email.html.haml b/app/views/notify/note_snippet_email.html.haml new file mode 100644 index 00000000000..2fa2f784661 --- /dev/null +++ b/app/views/notify/note_snippet_email.html.haml @@ -0,0 +1 @@ += render 'note_message' diff --git a/app/views/notify/note_snippet_email.text.erb b/app/views/notify/note_snippet_email.text.erb new file mode 100644 index 00000000000..4d5a406f4b0 --- /dev/null +++ b/app/views/notify/note_snippet_email.text.erb @@ -0,0 +1,8 @@ +New comment for Snippet <%= @snippet.id %> + +<%= url_for(namespace_project_snippet_url(@snippet.project.namespace, @snippet.project, @snippet, anchor: "note_#{@note.id}")) %> + + +Author: <%= @note.author_name %> + +<%= @note.note %> |
