mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 09:21:13 -05:00
linting
This commit is contained in:
parent
8f298a9901
commit
c70b8d28a3
1 changed files with 1 additions and 3 deletions
|
@ -73,7 +73,7 @@
|
||||||
<input type="hidden" name="action" value="federation">
|
<input type="hidden" name="action" value="federation">
|
||||||
<div class="field {{if .Err_FollowingRepos}}error{{end}}">
|
<div class="field {{if .Err_FollowingRepos}}error{{end}}">
|
||||||
<p>{{ctx.Locale.Tr "repo.settings.federation_apapiurl"}}</p>
|
<p>{{ctx.Locale.Tr "repo.settings.federation_apapiurl"}}</p>
|
||||||
<p><b>{{.RepositoryAPAPIURL}}<b></p>
|
<p><b>{{.RepositoryAPAPIURL}}</b></p>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label>
|
<label for="following_repos">{{ctx.Locale.Tr "repo.settings.federation_following_repos"}}</label>
|
||||||
<input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}">
|
<input id="following_repos" name="federation_repos" value="{{.FollowingRepos}}">
|
||||||
|
@ -85,7 +85,6 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|
||||||
{{/* These variables exist to make the logic in the Settings window easier to comprehend and are not used later on. */}}
|
{{/* These variables exist to make the logic in the Settings window easier to comprehend and are not used later on. */}}
|
||||||
{{$newMirrorsPartiallyEnabled := or (not .DisableNewPullMirrors) (not .DisableNewPushMirrors)}}
|
{{$newMirrorsPartiallyEnabled := or (not .DisableNewPullMirrors) (not .DisableNewPushMirrors)}}
|
||||||
{{/* .Repository.IsMirror is not always reliable if the repository is not actively acting as a mirror because of errors. */}}
|
{{/* .Repository.IsMirror is not always reliable if the repository is not actively acting as a mirror because of errors. */}}
|
||||||
|
@ -97,7 +96,6 @@
|
||||||
{{$modifyBrokenPullMirror := and .Repository.IsMirror (not .PullMirror)}}
|
{{$modifyBrokenPullMirror := and .Repository.IsMirror (not .PullMirror)}}
|
||||||
{{$isWorkingPullMirror := .PullMirror}}
|
{{$isWorkingPullMirror := .PullMirror}}
|
||||||
|
|
||||||
|
|
||||||
{{if $showMirrorSettings}}
|
{{if $showMirrorSettings}}
|
||||||
<h4 class="ui top attached header">
|
<h4 class="ui top attached header">
|
||||||
{{ctx.Locale.Tr "repo.settings.mirror_settings"}}
|
{{ctx.Locale.Tr "repo.settings.mirror_settings"}}
|
||||||
|
|
Loading…
Reference in a new issue