mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Moved API settings to their own tab.
git-svn-id: http://svn.redmine.org/redmine/trunk@14636 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
16cc9ec06a
commit
74bb6212c8
@ -22,6 +22,7 @@ module SettingsHelper
|
||||
tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general},
|
||||
{:name => 'display', :partial => 'settings/display', :label => :label_display},
|
||||
{:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication},
|
||||
{:name => 'api', :partial => 'settings/api', :label => :label_api},
|
||||
{:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural},
|
||||
{:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking},
|
||||
{:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification},
|
||||
|
||||
10
app/views/settings/_api.html.erb
Normal file
10
app/views/settings/_api.html.erb
Normal file
@ -0,0 +1,10 @@
|
||||
<%= form_tag({:action => 'edit', :tab => 'api'}) do %>
|
||||
|
||||
<div class="box tabular settings">
|
||||
<p><%= setting_check_box :rest_api_enabled %></p>
|
||||
|
||||
<p><%= setting_check_box :jsonp_enabled %></p>
|
||||
</div>
|
||||
|
||||
<%= submit_tag l(:button_save) %>
|
||||
<% end %>
|
||||
@ -23,10 +23,6 @@
|
||||
<p><%= setting_text_field :max_additional_emails, :size => 6 %></p>
|
||||
|
||||
<p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p>
|
||||
|
||||
<p><%= setting_check_box :rest_api_enabled %></p>
|
||||
|
||||
<p><%= setting_check_box :jsonp_enabled %></p>
|
||||
</div>
|
||||
|
||||
<fieldset class="box">
|
||||
|
||||
@ -971,6 +971,7 @@ en:
|
||||
label_fields_mapping: Fields mapping
|
||||
label_file_content_preview: File content preview
|
||||
label_create_missing_values: Create missing values
|
||||
label_api: API
|
||||
|
||||
button_login: Login
|
||||
button_submit: Submit
|
||||
|
||||
@ -989,6 +989,7 @@ fr:
|
||||
label_fields_mapping: Correspondance des champs
|
||||
label_file_content_preview: Aperçu du contenu du fichier
|
||||
label_create_missing_values: Créer les valeurs manquantes
|
||||
label_api: API
|
||||
|
||||
button_login: Connexion
|
||||
button_submit: Soumettre
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user