Move API setting to Authentication tab and add translations strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3222 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -24,8 +24,7 @@ module SettingsHelper
|
||||
{:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking},
|
||||
{:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification},
|
||||
{:name => 'mail_handler', :partial => 'settings/mail_handler', :label => :label_incoming_emails},
|
||||
{:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural},
|
||||
{:name => 'integration', :partial => 'settings/integration', :label => :label_integration}
|
||||
{:name => 'repositories', :partial => 'settings/repositories', :label => :label_repository_plural}
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
<p><%= setting_check_box :lost_password, :label => :label_password_lost %></p>
|
||||
|
||||
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
|
||||
|
||||
<p><%= setting_check_box :rest_api_enabled %></p>
|
||||
</div>
|
||||
|
||||
<div style="float:right;">
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<% form_tag({:action => 'edit', :tab => 'integration'}) do %>
|
||||
|
||||
<div class="box tabular settings">
|
||||
<p><%= setting_check_box :rest_api_enabled %></p>
|
||||
</div>
|
||||
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user