##// END OF EJS Templates
Merged r9911 from trunk to 1.4-stable (#11328)...
Merged r9911 from trunk to 1.4-stable (#11328) Fix Japanese mistranslation for 'label_language_based'. Contributed by Go MAEDA. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9918 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9627:ba3828b49f77
r9735:1b0e717902c0
Show More
_authentication.html.erb
36 lines | 1.6 KiB | text/plain | TextLexer
/ app / views / settings / _authentication.html.erb
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 <% form_tag({:action => 'edit', :tab => 'authentication'}) do %>
<div class="box tabular settings">
Jean-Philippe Lang
Adds helpers for setting field tags....
r3084 <p><%= setting_check_box :login_required %></p>
Jean-Baptiste Barth
Fixed: disabling autologin not persisted. #6438...
r4192 <p><%= setting_select :autologin, [[l(:label_disabled), 0]] + [1, 7, 30, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), days.to_s]} %></p>
Jean-Philippe Lang
Adds helpers for setting field tags....
r3084
<p><%= setting_select :self_registration, [[l(:label_disabled), "0"],
Toshi MARUYAMA
replace tabs to spaces at app/views/settings/_authentication.html.erb...
r7278 [l(:label_registration_activation_by_email), "1"],
[l(:label_registration_manual_activation), "2"],
[l(:label_registration_automatic_activation), "3"]] %></p>
Jean-Philippe Lang
Adds helpers for setting field tags....
r3084
Jean-Philippe Lang
Merged r9417 from trunk (#10664)....
r9321 <p><%= setting_check_box :unsubscribe %></p>
Jean-Philippe Lang
Adds helpers for setting field tags....
r3084 <p><%= setting_text_field :password_min_length, :size => 6 %></p>
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
Jean-Philippe Lang
Move API setting to Authentication tab and add translations strings....
r3108
<p><%= setting_check_box :rest_api_enabled %></p>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 </div>
Jean-Philippe Lang
Backported r9797 from trunk....
r9627 <fieldset class="box">
<legend><%= l(:label_session_expiration) %></legend>
<div class="tabular settings">
<p><%= setting_select :session_lifetime, [[l(:label_disabled), 0]] + [1, 7, 30, 60, 365].collect{|days| [l('datetime.distance_in_words.x_days', :count => days), (days * 60 * 24).to_s]} %></p>
<p><%= setting_select :session_timeout, [[l(:label_disabled), 0]] + [1, 2, 4, 8, 12, 24, 48].collect{|hours| [l('datetime.distance_in_words.x_hours', :count => hours), (hours * 60).to_s]} %></p>
</div>
<p><em class="info"><%= l(:text_session_expiration_settings) %></em></p>
</fieldset>
Jean-Philippe Lang
Admin settings screen split to tabs....
r1033 <%= submit_tag l(:button_save) %>
<% end %>