summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_general.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-25 01:24:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-25 01:24:27 +0000
commitac34acadcd76699cb0b6f4d931c034ccc287d2a7 (patch)
tree8479687310b540e175a93b379d08136589e5e3fd /app/views/settings/_general.html.erb
parentf71ebdcae7f7e9ebf8e4ca52c7f6baf20efa1755 (diff)
downloadredmine-ac34acadcd76699cb0b6f4d931c034ccc287d2a7.tar.gz
redmine-ac34acadcd76699cb0b6f4d931c034ccc287d2a7.zip
rename .rhtml to .html.erb of app/views/settings/_general.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6619 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings/_general.html.erb')
-rw-r--r--app/views/settings/_general.html.erb37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/views/settings/_general.html.erb b/app/views/settings/_general.html.erb
new file mode 100644
index 000000000..a384693bc
--- /dev/null
+++ b/app/views/settings/_general.html.erb
@@ -0,0 +1,37 @@
+<% form_tag({:action => 'edit'}) do %>
+
+<div class="box tabular settings">
+<p><%= setting_text_field :app_title, :size => 30 %></p>
+
+<p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
+<%= wikitoolbar_for 'settings_welcome_text' %>
+
+<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :per_page_options, :size => 20 %><br />
+<em><%= l(:text_comma_separated) %></em></p>
+
+<p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p>
+
+<p><%= setting_text_field :host_name, :size => 60 %><br />
+<em><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p>
+
+<p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p>
+
+<p><%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %></p>
+
+<p><%= setting_check_box :cache_formatted_text %></p>
+
+<p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p>
+
+<p><%= setting_text_field :feeds_limit, :size => 6 %></p>
+
+<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
+
+<%= call_hook(:view_settings_general_form) %>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>