File tree Expand file tree Collapse file tree 4 files changed +27
-23
lines changed
templates/admin/config_settings Expand file tree Collapse file tree 4 files changed +27
-23
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
27
27
28
28
const (
29
29
tplConfig templates.TplName = "admin/config"
30
- tplConfigSettings templates.TplName = "admin/config_settings"
30
+ tplConfigSettings templates.TplName = "admin/config_settings/config_settings "
31
31
)
32
32
33
33
// SendTestMail send test mail to confirm mail service is OK
Original file line number Diff line number Diff line change 1
- {{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin config")}}
2
1
<h4 class="ui top attached header">
3
2
{{ctx.Locale.Tr "admin.config.picture_config"}}
4
3
</h4>
19
18
</dd>
20
19
</dl>
21
20
</div>
22
-
23
- <h4 class="ui top attached header">
24
- {{ctx.Locale.Tr "repository"}}
25
- </h4>
26
- <div class="ui attached segment">
27
- <form class="ui form form-fetch-action" method="post" action="{{AppSubUrl}}/-/admin/config?key={{.SystemConfig.Repository.OpenWithEditorApps.DynKey}}">
28
- <div class="field">
29
- <details>
30
- <summary>{{ctx.Locale.Tr "admin.config.open_with_editor_app_help"}}</summary>
31
- <pre class="tw-px-4">{{.DefaultOpenWithEditorAppsString}}</pre>
32
- </details>
33
- </div>
34
- <div class="field">
35
- <textarea name="value">{{(.SystemConfig.Repository.OpenWithEditorApps.Value ctx).ToTextareaString}}</textarea>
36
- </div>
37
- <div class="field">
38
- <button class="ui primary button">{{ctx.Locale.Tr "save"}}</button>
39
- </div>
40
- </form>
41
- </div>
42
- {{template "admin/layout_footer" .}}
Original file line number Diff line number Diff line change
1
+ {{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin config")}}
2
+
3
+ {{template "admin/config_settings/avatars" .}}
4
+
5
+ {{template "admin/config_settings/repository" .}}
6
+
7
+ {{template "admin/layout_footer" .}}
Original file line number Diff line number Diff line change
1
+ <h4 class="ui top attached header">
2
+ {{ctx.Locale.Tr "repository"}}
3
+ </h4>
4
+ <div class="ui attached segment">
5
+ <form class="ui form form-fetch-action" method="post" action="{{AppSubUrl}}/-/admin/config?key={{.SystemConfig.Repository.OpenWithEditorApps.DynKey}}">
6
+ <div class="field">
7
+ <details>
8
+ <summary>{{ctx.Locale.Tr "admin.config.open_with_editor_app_help"}}</summary>
9
+ <pre class="tw-px-4">{{.DefaultOpenWithEditorAppsString}}</pre>
10
+ </details>
11
+ </div>
12
+ <div class="field">
13
+ <textarea name="value">{{(.SystemConfig.Repository.OpenWithEditorApps.Value ctx).ToTextareaString}}</textarea>
14
+ </div>
15
+ <div class="field">
16
+ <button class="ui primary button">{{ctx.Locale.Tr "save"}}</button>
17
+ </div>
18
+ </form>
19
+ </div>
You can’t perform that action at this time.
0 commit comments