diff --git a/app/views/mailer/_issue.rhtml b/app/views/mailer/_issue.rhtml index 7caf855..bd438f2 100644 --- a/app/views/mailer/_issue.rhtml +++ b/app/views/mailer/_issue.rhtml @@ -5,4 +5,4 @@ <%= issue.description %> -http://<%= Setting.host_name %>/issues/show/<%= issue.id %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'issues', :action => 'show', :id => issue %> diff --git a/app/views/mailer/attachments_add_es.rhtml b/app/views/mailer/attachments_add_es.rhtml deleted file mode 100644 index 81e2974..0000000 --- a/app/views/mailer/attachments_add_es.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -<%= @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/document_add.rhtml b/app/views/mailer/document_add.rhtml index 67648de..dfd51d3 100644 --- a/app/views/mailer/document_add.rhtml +++ b/app/views/mailer/document_add.rhtml @@ -1,4 +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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_bg.rhtml b/app/views/mailer/document_add_bg.rhtml index aef4f1f..fbd6526 100644 --- a/app/views/mailer/document_add_bg.rhtml +++ b/app/views/mailer/document_add_bg.rhtml @@ -1,4 +1,4 @@ Добавен е документ в <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_de.rhtml b/app/views/mailer/document_add_de.rhtml index fab485c..4ee5a35 100644 --- a/app/views/mailer/document_add_de.rhtml +++ b/app/views/mailer/document_add_de.rhtml @@ -1,4 +1,4 @@ Ein Dokument wurde hinzugefügt: <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_es.rhtml b/app/views/mailer/document_add_es.rhtml deleted file mode 100644 index 67648de..0000000 --- a/app/views/mailer/document_add_es.rhtml +++ /dev/null @@ -1,4 +0,0 @@ -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 index b6f8775..333ae5c 100644 --- a/app/views/mailer/document_add_fr.rhtml +++ b/app/views/mailer/document_add_fr.rhtml @@ -1,4 +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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_it.rhtml b/app/views/mailer/document_add_it.rhtml index 1d41a5f..73b7632 100644 --- a/app/views/mailer/document_add_it.rhtml +++ b/app/views/mailer/document_add_it.rhtml @@ -1,4 +1,4 @@ Un documento e' stato aggiunto a <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_ja.rhtml b/app/views/mailer/document_add_ja.rhtml index 3834947..3a883c6 100644 --- a/app/views/mailer/document_add_ja.rhtml +++ b/app/views/mailer/document_add_ja.rhtml @@ -1,4 +1,4 @@ 文書が <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_nl.rhtml b/app/views/mailer/document_add_nl.rhtml index 91215e9..ff70915 100644 --- a/app/views/mailer/document_add_nl.rhtml +++ b/app/views/mailer/document_add_nl.rhtml @@ -1,4 +1,4 @@ Een document is toegevoegd aan <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_pt-br.rhtml b/app/views/mailer/document_add_pt-br.rhtml index 3ea2f97..00ee0bb 100644 --- a/app/views/mailer/document_add_pt-br.rhtml +++ b/app/views/mailer/document_add_pt-br.rhtml @@ -1,4 +1,4 @@ Um documento foi adicionado no projeto <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_pt.rhtml b/app/views/mailer/document_add_pt.rhtml index 3ea2f97..00ee0bb 100644 --- a/app/views/mailer/document_add_pt.rhtml +++ b/app/views/mailer/document_add_pt.rhtml @@ -1,4 +1,4 @@ Um documento foi adicionado no projeto <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_sv.rhtml b/app/views/mailer/document_add_sv.rhtml index 367b8d0..2ca0c1e 100644 --- a/app/views/mailer/document_add_sv.rhtml +++ b/app/views/mailer/document_add_sv.rhtml @@ -1,4 +1,4 @@ Ett dokument har lagts till i <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/document_add_zh.rhtml b/app/views/mailer/document_add_zh.rhtml index d4fe9d1..f416892 100644 --- a/app/views/mailer/document_add_zh.rhtml +++ b/app/views/mailer/document_add_zh.rhtml @@ -1,4 +1,4 @@ -��һ���ĵ��ѱ����뵽��Ŀ�� <%= @document.project.name %> (<%= @document.category.name %>): +��һ���ĵ��ѱ����뵽��Ŀ�� <%= @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 +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'documents', :action => 'show', :id => @document %> diff --git a/app/views/mailer/issue_add_es.rhtml b/app/views/mailer/issue_add_es.rhtml deleted file mode 100644 index 823de2c..0000000 --- a/app/views/mailer/issue_add_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -Issue #<%= @issue.id %> has been reported. ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/issue_edit_es.rhtml b/app/views/mailer/issue_edit_es.rhtml deleted file mode 100644 index 7a9ca16..0000000 --- a/app/views/mailer/issue_edit_es.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -Issue #<%= @issue.id %> has been updated. -<%= @journal.user.name %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= @journal.notes if @journal.notes? %> ----------------------------------------- -<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/lost_password.rhtml b/app/views/mailer/lost_password.rhtml index 332ddeb..430e14b 100644 --- a/app/views/mailer/lost_password.rhtml +++ b/app/views/mailer/lost_password.rhtml @@ -1,3 +1,3 @@ To change your password, use the following link: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_bg.rhtml b/app/views/mailer/lost_password_bg.rhtml index f415769..b981f27 100644 --- a/app/views/mailer/lost_password_bg.rhtml +++ b/app/views/mailer/lost_password_bg.rhtml @@ -1,3 +1,3 @@ За да смените паролата си, използвайте следния линк: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_de.rhtml b/app/views/mailer/lost_password_de.rhtml index 4e2517a..1607e29 100644 --- a/app/views/mailer/lost_password_de.rhtml +++ b/app/views/mailer/lost_password_de.rhtml @@ -1,3 +1,3 @@ Benutzen Sie folgenden Link, um das Password zu ändern: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_es.rhtml b/app/views/mailer/lost_password_es.rhtml deleted file mode 100644 index 332ddeb..0000000 --- a/app/views/mailer/lost_password_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To change your password, use the following link: - -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/lost_password_fr.rhtml b/app/views/mailer/lost_password_fr.rhtml index 8282611..944852b 100644 --- a/app/views/mailer/lost_password_fr.rhtml +++ b/app/views/mailer/lost_password_fr.rhtml @@ -1,3 +1,3 @@ Pour changer votre mot de passe, utilisez le lien suivant: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_it.rhtml b/app/views/mailer/lost_password_it.rhtml index fc42e36..69814b0 100644 --- a/app/views/mailer/lost_password_it.rhtml +++ b/app/views/mailer/lost_password_it.rhtml @@ -1,3 +1,3 @@ Per cambiare la password, usate il seguente collegamento: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_ja.rhtml b/app/views/mailer/lost_password_ja.rhtml index 1f203e8..3c7ddd1 100644 --- a/app/views/mailer/lost_password_ja.rhtml +++ b/app/views/mailer/lost_password_ja.rhtml @@ -1,3 +1,3 @@ パスワードを変更するには、以下のリンクをたどってください: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_nl.rhtml b/app/views/mailer/lost_password_nl.rhtml index 758f540..22b067c 100644 --- a/app/views/mailer/lost_password_nl.rhtml +++ b/app/views/mailer/lost_password_nl.rhtml @@ -1,3 +1,3 @@ Gebruik de volgende link om Uw wachtwoord te wijzigen: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_pt-br.rhtml b/app/views/mailer/lost_password_pt-br.rhtml index 1c71d90..0cb1f7f 100644 --- a/app/views/mailer/lost_password_pt-br.rhtml +++ b/app/views/mailer/lost_password_pt-br.rhtml @@ -1,3 +1,3 @@ Para mudar sua senha, clique no link abaixo: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_pt.rhtml b/app/views/mailer/lost_password_pt.rhtml index 1c71d90..0cb1f7f 100644 --- a/app/views/mailer/lost_password_pt.rhtml +++ b/app/views/mailer/lost_password_pt.rhtml @@ -1,3 +1,3 @@ Para mudar sua senha, clique no link abaixo: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_sv.rhtml b/app/views/mailer/lost_password_sv.rhtml index ca7b21b..1394e73 100644 --- a/app/views/mailer/lost_password_sv.rhtml +++ b/app/views/mailer/lost_password_sv.rhtml @@ -1,3 +1,3 @@ För att ändra lösenord, följ denna länk: -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'lost_password', :token => @token.value %> diff --git a/app/views/mailer/lost_password_zh.rhtml b/app/views/mailer/lost_password_zh.rhtml deleted file mode 100644 index c630f1b..0000000 --- a/app/views/mailer/lost_password_zh.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -������������Ӹ������Ŀ�� - -http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/register.rhtml b/app/views/mailer/register.rhtml index 64477fe..1c93098 100644 --- a/app/views/mailer/register.rhtml +++ b/app/views/mailer/register.rhtml @@ -1,3 +1,3 @@ To activate your redMine account, use the following link: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_bg.rhtml b/app/views/mailer/register_bg.rhtml index 79e7ed9..adf4f5a 100644 --- a/app/views/mailer/register_bg.rhtml +++ b/app/views/mailer/register_bg.rhtml @@ -1,3 +1,3 @@ За да активирате акаунта си използвайте следния линк: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_de.rhtml b/app/views/mailer/register_de.rhtml index a0c506c..1d0452b 100644 --- a/app/views/mailer/register_de.rhtml +++ b/app/views/mailer/register_de.rhtml @@ -1,3 +1,3 @@ Um Ihren Account zu aktivieren, benutzen Sie folgenden Link: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_es.rhtml b/app/views/mailer/register_es.rhtml deleted file mode 100644 index 64477fe..0000000 --- a/app/views/mailer/register_es.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -To activate your redMine account, use the following link: - -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/register_fr.rhtml b/app/views/mailer/register_fr.rhtml index 2258480..054df5d 100644 --- a/app/views/mailer/register_fr.rhtml +++ b/app/views/mailer/register_fr.rhtml @@ -1,3 +1,3 @@ Pour activer votre compte sur redMine, utilisez le lien suivant: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_it.rhtml b/app/views/mailer/register_it.rhtml index a1e035a..d117a96 100644 --- a/app/views/mailer/register_it.rhtml +++ b/app/views/mailer/register_it.rhtml @@ -1,3 +1,3 @@ Per attivare la vostra utenza redMine, usate il seguente collegamento: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_ja.rhtml b/app/views/mailer/register_ja.rhtml index 2f5846f..520d52f 100644 --- a/app/views/mailer/register_ja.rhtml +++ b/app/views/mailer/register_ja.rhtml @@ -1,3 +1,3 @@ redMine アカウントをアクティブにするには、以下のリンクをたどってください: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_nl.rhtml b/app/views/mailer/register_nl.rhtml index a8da4e7..966ef60 100644 --- a/app/views/mailer/register_nl.rhtml +++ b/app/views/mailer/register_nl.rhtml @@ -1,3 +1,3 @@ Gebruik de volgende link om Uw redMine account te activeren: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_pt-br.rhtml b/app/views/mailer/register_pt-br.rhtml index 6b7d4b1..fcf3f02 100644 --- a/app/views/mailer/register_pt-br.rhtml +++ b/app/views/mailer/register_pt-br.rhtml @@ -1,3 +1,3 @@ Para ativar sua conta do redMine, clique no link abaixo: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_pt.rhtml b/app/views/mailer/register_pt.rhtml index 6b7d4b1..fcf3f02 100644 --- a/app/views/mailer/register_pt.rhtml +++ b/app/views/mailer/register_pt.rhtml @@ -1,3 +1,3 @@ Para ativar sua conta do redMine, clique no link abaixo: -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_sv.rhtml b/app/views/mailer/register_sv.rhtml index c7e6d46..e7bdd22 100644 --- a/app/views/mailer/register_sv.rhtml +++ b/app/views/mailer/register_sv.rhtml @@ -1,3 +1,3 @@ -F�r att aktivera ditt redMine-konto, använd följande länk. +För att aktivera ditt redMine-konto, använd följande länk. -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file +<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'register', :token => @token.value %> diff --git a/app/views/mailer/register_zh.rhtml b/app/views/mailer/register_zh.rhtml deleted file mode 100644 index 0e6dd7f..0000000 --- a/app/views/mailer/register_zh.rhtml +++ /dev/null @@ -1,3 +0,0 @@ -������������Ӽ�������redMine�˺� - -http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/test.rhtml b/app/views/mailer/test.rhtml index 0e1629b..deffa53 100644 --- a/app/views/mailer/test.rhtml +++ b/app/views/mailer/test.rhtml @@ -1 +1,3 @@ This is a test email sent by Redmine. + +Redmine URL: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'welcome' %>