Project

General

Profile

Patch #16069 » 0003-move-to-api-tab.patch

vzvu 3k6k, 2020-10-24 09:56

View differences:

app/views/settings/_api.html.erb
4 4
<p><%= setting_check_box :rest_api_enabled %></p>
5 5

  
6 6
<p><%= setting_check_box :jsonp_enabled %></p>
7

  
8
<p><%= setting_text_field :api_limit, :size => 6 %></p>
9

  
7 10
</div>
8 11

  
9 12
<%= submit_tag l(:button_save) %>
app/views/settings/_general.html.erb
25 25

  
26 26
<p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p>
27 27

  
28
<p><%= setting_text_field :api_limit, :size => 6 %></p>
29

  
30 28
<p><%= setting_text_field :feeds_limit, :size => 6 %></p>
31 29

  
32 30
<%= call_hook(:view_settings_general_form) %>
(4-4/6)