mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 01:40:36 +00:00
corr var label name
This commit is contained in:
parent
3018769d26
commit
26eb01b509
1 changed files with 3 additions and 4 deletions
|
@ -63,7 +63,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
/* TODO: get true/false from settings */
|
<!-- TODO: get true/false from settings -->
|
||||||
{{$showFederationSettings := true}}
|
{{$showFederationSettings := true}}
|
||||||
{{if $showFederationSettings}}
|
{{if $showFederationSettings}}
|
||||||
<h4 class="ui top attached header">
|
<h4 class="ui top attached header">
|
||||||
|
@ -74,10 +74,9 @@
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<input type="hidden" name="action" value="federation">
|
<input type="hidden" name="action" value="federation">
|
||||||
|
|
||||||
/* TODO: implement Err_FederationRepos somewhere */
|
<!-- TODO: implement Err_FederationRepos somewhere -->
|
||||||
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
<div class="field {{if .Err_FederationRepos}}error{{end}}">
|
||||||
/* TODO: internationalize text */
|
<label for="federation_repos">{{ctx.Locale.Tr "repo.settings.federation_labelname_repo"}}</label>
|
||||||
<label for="federation_repos">{{ctx.Locale.Tr "settings.federation_labelname_repo"}}</label>
|
|
||||||
<input id="federation_repos" name="federation_repos" value="{{.Repository.FederationRepos}}" data-repo-name="{{.Repository.FederationRepos}}">
|
<input id="federation_repos" name="federation_repos" value="{{.Repository.FederationRepos}}" data-repo-name="{{.Repository.FederationRepos}}">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
Loading…
Reference in a new issue