From c70b8d28a3d1f437f0f5d08e61f6791d681d3e53 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Mon, 6 May 2024 08:12:43 +0200 Subject: [PATCH] linting --- templates/repo/settings/options.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 192261ef20..ab7b4e7308 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -73,7 +73,7 @@

{{ctx.Locale.Tr "repo.settings.federation_apapiurl"}}

-

{{.RepositoryAPAPIURL}}

+

{{.RepositoryAPAPIURL}}

@@ -85,7 +85,6 @@
{{end}} - {{/* 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)}} {{/* .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)}} {{$isWorkingPullMirror := .PullMirror}} - {{if $showMirrorSettings}}

{{ctx.Locale.Tr "repo.settings.mirror_settings"}}