diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-27 15:01:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-27 15:01:19 +0000 |
commit | 2d47a6d71c0973598bf2d59c59bd4050e77f3861 (patch) | |
tree | d5e119cf6d5be90d667c90c4fc81cdd76ceb8543 /app/views/mailer | |
parent | 22c2209cf9229e5f799a9612fadcb6119e412064 (diff) | |
download | redmine-2d47a6d71c0973598bf2d59c59bd4050e77f3861.tar.gz redmine-2d47a6d71c0973598bf2d59c59bd4050e77f3861.zip |
mail notifications added when:
* a document is added
* a file is added to the project
* an attachment is added to an issue or a document
git-svn-id: http://redmine.rubyforge.org/svn/trunk@196 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r-- | app/views/mailer/attachments_add_de.rhtml | 6 | ||||
-rw-r--r-- | app/views/mailer/attachments_add_en.rhtml | 6 | ||||
-rw-r--r-- | app/views/mailer/attachments_add_es.rhtml | 6 | ||||
-rw-r--r-- | app/views/mailer/attachments_add_fr.rhtml | 6 | ||||
-rw-r--r-- | app/views/mailer/document_add_de.rhtml | 4 | ||||
-rw-r--r-- | app/views/mailer/document_add_en.rhtml | 4 | ||||
-rw-r--r-- | app/views/mailer/document_add_es.rhtml | 4 | ||||
-rw-r--r-- | app/views/mailer/document_add_fr.rhtml | 4 |
8 files changed, 40 insertions, 0 deletions
diff --git a/app/views/mailer/attachments_add_de.rhtml b/app/views/mailer/attachments_add_de.rhtml new file mode 100644 index 000000000..f17af9d8e --- /dev/null +++ b/app/views/mailer/attachments_add_de.rhtml @@ -0,0 +1,6 @@ +<%= @added_to %>
+<%= @attachments.size %> files(s) added.
+<% @attachments.each do |attachment | %>
+- <%= attachment.filename %><% end %>
+
+<%= @url %>
\ No newline at end of file diff --git a/app/views/mailer/attachments_add_en.rhtml b/app/views/mailer/attachments_add_en.rhtml new file mode 100644 index 000000000..f17af9d8e --- /dev/null +++ b/app/views/mailer/attachments_add_en.rhtml @@ -0,0 +1,6 @@ +<%= @added_to %>
+<%= @attachments.size %> files(s) added.
+<% @attachments.each do |attachment | %>
+- <%= attachment.filename %><% end %>
+
+<%= @url %>
\ No newline at end of file diff --git a/app/views/mailer/attachments_add_es.rhtml b/app/views/mailer/attachments_add_es.rhtml new file mode 100644 index 000000000..f17af9d8e --- /dev/null +++ b/app/views/mailer/attachments_add_es.rhtml @@ -0,0 +1,6 @@ +<%= @added_to %>
+<%= @attachments.size %> files(s) added.
+<% @attachments.each do |attachment | %>
+- <%= attachment.filename %><% end %>
+
+<%= @url %>
\ No newline at end of file diff --git a/app/views/mailer/attachments_add_fr.rhtml b/app/views/mailer/attachments_add_fr.rhtml new file mode 100644 index 000000000..381b48961 --- /dev/null +++ b/app/views/mailer/attachments_add_fr.rhtml @@ -0,0 +1,6 @@ +<%= @added_to %>
+<%= @attachments.size %> fichier(s) ajouté(s).
+<% @attachments.each do |attachment | %>
+- <%= attachment.filename %><% end %>
+
+<%= @url %>
\ No newline at end of file diff --git a/app/views/mailer/document_add_de.rhtml b/app/views/mailer/document_add_de.rhtml new file mode 100644 index 000000000..a022829a7 --- /dev/null +++ b/app/views/mailer/document_add_de.rhtml @@ -0,0 +1,4 @@ +A document has been added to <%= @document.project.name %> (<%= @document.category.name %>):
+<%= l(:field_title) %>: <%= @document.title %>
+
+http://<%= Setting.host_name %>/documents/show/<%= @document.id %>
\ No newline at end of file diff --git a/app/views/mailer/document_add_en.rhtml b/app/views/mailer/document_add_en.rhtml new file mode 100644 index 000000000..a022829a7 --- /dev/null +++ b/app/views/mailer/document_add_en.rhtml @@ -0,0 +1,4 @@ +A document has been added to <%= @document.project.name %> (<%= @document.category.name %>):
+<%= l(:field_title) %>: <%= @document.title %>
+
+http://<%= Setting.host_name %>/documents/show/<%= @document.id %>
\ No newline at end of file diff --git a/app/views/mailer/document_add_es.rhtml b/app/views/mailer/document_add_es.rhtml new file mode 100644 index 000000000..a022829a7 --- /dev/null +++ b/app/views/mailer/document_add_es.rhtml @@ -0,0 +1,4 @@ +A document has been added to <%= @document.project.name %> (<%= @document.category.name %>):
+<%= l(:field_title) %>: <%= @document.title %>
+
+http://<%= Setting.host_name %>/documents/show/<%= @document.id %>
\ No newline at end of file diff --git a/app/views/mailer/document_add_fr.rhtml b/app/views/mailer/document_add_fr.rhtml new file mode 100644 index 000000000..c116c84cb --- /dev/null +++ b/app/views/mailer/document_add_fr.rhtml @@ -0,0 +1,4 @@ +Un document a été ajouté à <%= @document.project.name %> (<%= @document.category.name %>):
+<%= l(:field_title) %>: <%= @document.title %>
+
+http://<%= Setting.host_name %>/documents/show/<%= @document.id %>
\ No newline at end of file |