summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/mailer/account_information_pl.rhtml9
-rw-r--r--app/views/mailer/attachments_add_pl.rhtml6
-rw-r--r--app/views/mailer/document_add_pl.rhtml4
-rw-r--r--app/views/mailer/lost_password_pl.rhtml3
-rw-r--r--app/views/mailer/register_pl.rhtml3
5 files changed, 25 insertions, 0 deletions
diff --git a/app/views/mailer/account_information_pl.rhtml b/app/views/mailer/account_information_pl.rhtml
new file mode 100644
index 000000000..f73108a74
--- /dev/null
+++ b/app/views/mailer/account_information_pl.rhtml
@@ -0,0 +1,9 @@
+<% if @user.auth_source %>Możesz użyć twojego "<%= @user.auth_source.name %>" konta do zalogowania do Redmine.
+<% else %>Twoje konto w Redmine:
+* Login: <%= @user.login %>
+* Hasło: <%= @password %>
+<% end %>
+Zaloguj: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'login' %>
+<% unless @user.auth_source %>
+Możesz zmienić swoje hasło tutaj: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'my', :action => 'account' %>
+<% end %>
diff --git a/app/views/mailer/attachments_add_pl.rhtml b/app/views/mailer/attachments_add_pl.rhtml
new file mode 100644
index 000000000..f358a83ce
--- /dev/null
+++ b/app/views/mailer/attachments_add_pl.rhtml
@@ -0,0 +1,6 @@
+<%= @added_to %>
+<%= @attachments.size %> plik(ów) dodane.
+<% @attachments.each do |attachment | %>
+- <%= attachment.filename %><% end %>
+
+<%= @url %> \ No newline at end of file
diff --git a/app/views/mailer/document_add_pl.rhtml b/app/views/mailer/document_add_pl.rhtml
new file mode 100644
index 000000000..bf84f4a4b
--- /dev/null
+++ b/app/views/mailer/document_add_pl.rhtml
@@ -0,0 +1,4 @@
+Dokument został dodany do <%= @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/lost_password_pl.rhtml b/app/views/mailer/lost_password_pl.rhtml
new file mode 100644
index 000000000..6320f72dc
--- /dev/null
+++ b/app/views/mailer/lost_password_pl.rhtml
@@ -0,0 +1,3 @@
+W celu zmiany swojego hasła użyj poniższego odnośnika:
+
+http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file
diff --git a/app/views/mailer/register_pl.rhtml b/app/views/mailer/register_pl.rhtml
new file mode 100644
index 000000000..ab20d4e64
--- /dev/null
+++ b/app/views/mailer/register_pl.rhtml
@@ -0,0 +1,3 @@
+W celu aktywacji Twojego konta w redMine, użyj poniższego odnośnika:
+
+http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file