From 006337fb0e8c45813031a0ced14746733692a173 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 7 Nov 2008 15:37:17 +0000 Subject: Host setting should contain the path prefix (Redmine base URL) to properly generate links in emails that are sent offline (#2122). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1989 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/settings/_general.rhtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views/settings') diff --git a/app/views/settings/_general.rhtml b/app/views/settings/_general.rhtml index 85b459720..06db77b22 100644 --- a/app/views/settings/_general.rhtml +++ b/app/views/settings/_general.rhtml @@ -33,7 +33,8 @@ <%= text_field_tag 'settings[activity_days_default]', Setting.activity_days_default, :size => 6 %> <%= l(:label_day_plural) %>

-<%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %>

+<%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %>
+<%= l(:label_example) %>: <%= @guessed_host_and_path %>

<%= select_tag 'settings[protocol]', options_for_select(['http', 'https'], Setting.protocol) %>

-- cgit v1.2.3