@@ -0,0 +1,10 | |||||
|
1 | <%= form_tag({:action => 'edit', :tab => 'api'}) do %> | |||
|
2 | ||||
|
3 | <div class="box tabular settings"> | |||
|
4 | <p><%= setting_check_box :rest_api_enabled %></p> | |||
|
5 | ||||
|
6 | <p><%= setting_check_box :jsonp_enabled %></p> | |||
|
7 | </div> | |||
|
8 | ||||
|
9 | <%= submit_tag l(:button_save) %> | |||
|
10 | <% end %> |
@@ -22,6 +22,7 module SettingsHelper | |||||
22 | tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general}, |
|
22 | tabs = [{:name => 'general', :partial => 'settings/general', :label => :label_general}, | |
23 | {:name => 'display', :partial => 'settings/display', :label => :label_display}, |
|
23 | {:name => 'display', :partial => 'settings/display', :label => :label_display}, | |
24 | {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication}, |
|
24 | {:name => 'authentication', :partial => 'settings/authentication', :label => :label_authentication}, | |
|
25 | {:name => 'api', :partial => 'settings/api', :label => :label_api}, | |||
25 | {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural}, |
|
26 | {:name => 'projects', :partial => 'settings/projects', :label => :label_project_plural}, | |
26 | {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking}, |
|
27 | {:name => 'issues', :partial => 'settings/issues', :label => :label_issue_tracking}, | |
27 | {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification}, |
|
28 | {:name => 'notifications', :partial => 'settings/notifications', :label => :field_mail_notification}, |
@@ -23,10 +23,6 | |||||
23 | <p><%= setting_text_field :max_additional_emails, :size => 6 %></p> |
|
23 | <p><%= setting_text_field :max_additional_emails, :size => 6 %></p> | |
24 |
|
24 | |||
25 | <p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p> |
|
25 | <p><%= setting_check_box :openid, :disabled => !Object.const_defined?(:OpenID) %></p> | |
26 |
|
||||
27 | <p><%= setting_check_box :rest_api_enabled %></p> |
|
|||
28 |
|
||||
29 | <p><%= setting_check_box :jsonp_enabled %></p> |
|
|||
30 | </div> |
|
26 | </div> | |
31 |
|
27 | |||
32 | <fieldset class="box"> |
|
28 | <fieldset class="box"> |
@@ -971,6 +971,7 en: | |||||
971 | label_fields_mapping: Fields mapping |
|
971 | label_fields_mapping: Fields mapping | |
972 | label_file_content_preview: File content preview |
|
972 | label_file_content_preview: File content preview | |
973 | label_create_missing_values: Create missing values |
|
973 | label_create_missing_values: Create missing values | |
|
974 | label_api: API | |||
974 |
|
975 | |||
975 | button_login: Login |
|
976 | button_login: Login | |
976 | button_submit: Submit |
|
977 | button_submit: Submit |
@@ -989,6 +989,7 fr: | |||||
989 | label_fields_mapping: Correspondance des champs |
|
989 | label_fields_mapping: Correspondance des champs | |
990 | label_file_content_preview: Aperçu du contenu du fichier |
|
990 | label_file_content_preview: Aperçu du contenu du fichier | |
991 | label_create_missing_values: Créer les valeurs manquantes |
|
991 | label_create_missing_values: Créer les valeurs manquantes | |
|
992 | label_api: API | |||
992 |
|
993 | |||
993 | button_login: Connexion |
|
994 | button_login: Connexion | |
994 | button_submit: Soumettre |
|
995 | button_submit: Soumettre |
General Comments 0
You need to be logged in to leave comments.
Login now