summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_attachments.html.erb15
-rw-r--r--app/views/settings/_general.html.erb8
2 files changed, 15 insertions, 8 deletions
diff --git a/app/views/settings/_attachments.html.erb b/app/views/settings/_attachments.html.erb
new file mode 100644
index 000000000..f8a85c748
--- /dev/null
+++ b/app/views/settings/_attachments.html.erb
@@ -0,0 +1,15 @@
+<%= form_tag({:action => 'edit', :tab => 'attachments'}) do %>
+
+<div class="box tabular settings">
+<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
+
+<p><%= setting_text_field :repositories_encodings, :size => 60 %>
+<em class="info"><%= l(:text_comma_separated) %></em></p>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>
diff --git a/app/views/settings/_general.html.erb b/app/views/settings/_general.html.erb
index 9bfd23b53..23abdb3f5 100644
--- a/app/views/settings/_general.html.erb
+++ b/app/views/settings/_general.html.erb
@@ -6,7 +6,6 @@
<p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
<%= wikitoolbar_for 'settings_welcome_text' %>
-<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
<p><%= setting_text_field :per_page_options, :size => 20 %>
<em class="info"><%= l(:text_comma_separated) %></em></p>
@@ -28,13 +27,6 @@
<p><%= setting_text_field :feeds_limit, :size => 6 %></p>
-<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
-
-<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
-
-<p><%= setting_text_field :repositories_encodings, :size => 60 %>
-<em class="info"><%= l(:text_comma_separated) %></em></p>
-
<%= call_hook(:view_settings_general_form) %>
</div>
ption> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/remote.php
blob: 4db887a0843ebdf41b7da68ee768ad37237ec58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94