mirror of https://github.com/go-gitea/gitea.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
<h4 class="ui top attached header"> |
|
{{ctx.Locale.Tr "repository"}} |
|
</h4> |
|
<div class="ui attached segment"> |
|
<form class="ui form form-fetch-action" method="post" action="{{AppSubUrl}}/-/admin/config"> |
|
<div class="field"> |
|
<details> |
|
<summary>{{ctx.Locale.Tr "admin.config.open_with_editor_app_help"}}</summary> |
|
<pre class="tw-px-4">{{.DefaultOpenWithEditorAppsString}}</pre> |
|
</details> |
|
</div> |
|
<div class="field"> |
|
{{$cfg := .SystemConfig.Repository.OpenWithEditorApps}} |
|
<input type="hidden" name="key" value="{{$cfg.DynKey}}"> |
|
<textarea name="value">{{($cfg.Value ctx).ToTextareaString}}</textarea> |
|
</div> |
|
|
|
<div class="field"> |
|
<label>{{ctx.Locale.Tr "admin.config.git_guide_remote_name"}}</label> |
|
{{$cfg = .SystemConfig.Repository.GitGuideRemoteName}} |
|
<input type="hidden" name="key" value="{{$cfg.DynKey}}"> |
|
<input name="value" value="{{$cfg.Value ctx}}" placeholder="{{$cfg.DefaultValue}}" maxlength="100" dir="auto" required pattern="^[A-Za-z0-9][\-_A-Za-z0-9]*$"> |
|
</div> |
|
<div class="field"> |
|
<button class="ui primary button">{{ctx.Locale.Tr "save"}}</button> |
|
</div> |
|
</form> |
|
</div>
|
|
|