summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-07 15:37:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-07 15:37:17 +0000
commit006337fb0e8c45813031a0ced14746733692a173 (patch)
tree727cab16a2946cab12d3c8e88b1edd10cf7ffbe7 /app/views/settings
parent4581baa5c0b64eb7d638876fb2e9288d5f71107c (diff)
downloadredmine-006337fb0e8c45813031a0ced14746733692a173.tar.gz
redmine-006337fb0e8c45813031a0ced14746733692a173.zip
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
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_general.rhtml3
1 files changed, 2 insertions, 1 deletions
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) %></p>
<p><label><%= l(:setting_host_name) %></label>
-<%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %></p>
+<%= text_field_tag 'settings[host_name]', Setting.host_name, :size => 60 %><br />
+<em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
<p><label><%= l(:setting_protocol) %></label>
<%= select_tag 'settings[protocol]', options_for_select(['http', 'https'], Setting.protocol) %></p>