To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / settings / _general.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.85 KB)
| 1 |
<%= form_tag({:action => 'edit'}) do %>
|
|---|---|
| 2 |
|
| 3 |
<div class="box tabular settings"> |
| 4 |
<p><%= setting_text_field :app_title, :size => 30 %></p> |
| 5 |
|
| 6 |
<p><%= setting_text_area :notifications_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> |
| 7 |
<%= wikitoolbar_for 'settings_notifications_text' %>
|
| 8 |
|
| 9 |
<p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> |
| 10 |
<%= wikitoolbar_for 'settings_welcome_text' %>
|
| 11 |
|
| 12 |
<p><%= setting_text_area :tipoftheday_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p> |
| 13 |
<%= wikitoolbar_for 'settings_tipoftheday_text' %>
|
| 14 |
|
| 15 |
<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> |
| 16 |
|
| 17 |
<p><%= setting_text_field :per_page_options, :size => 20 %> |
| 18 |
<em class="info"><%= l(:text_comma_separated) %></em></p> |
| 19 |
|
| 20 |
<p><%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %></p> |
| 21 |
|
| 22 |
<p><%= setting_text_field :host_name, :size => 60 %> |
| 23 |
<em class="info"><%= l(:label_example) %>: <%= @guessed_host_and_path %></em></p> |
| 24 |
|
| 25 |
<p><%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %></p> |
| 26 |
|
| 27 |
<p><%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %></p> |
| 28 |
|
| 29 |
<p><%= setting_check_box :cache_formatted_text %></p> |
| 30 |
|
| 31 |
<p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p> |
| 32 |
|
| 33 |
<p><%= setting_text_field :feeds_limit, :size => 6 %></p> |
| 34 |
|
| 35 |
<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p> |
| 36 |
|
| 37 |
<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p> |
| 38 |
|
| 39 |
<p><%= setting_text_field :repositories_encodings, :size => 60 %> |
| 40 |
<em class="info"><%= l(:text_comma_separated) %></em></p> |
| 41 |
|
| 42 |
<%= call_hook(:view_settings_general_form) %>
|
| 43 |
</div>
|
| 44 |
|
| 45 |
<%= submit_tag l(:button_save) %>
|
| 46 |
<% end %>
|