loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix variable in template (#25267)

Fix regression from https://github.com/go-gitea/gitea/pull/25212.

authored by

silverwind and committed by
GitHub
5440d37c e24f651c

+1 -1
+1 -1
templates/repo/settings/options.tmpl
··· 297 297 {{$isWikiEnabled := or (.Repository.UnitEnabled $.Context $.UnitTypeWiki) (.Repository.UnitEnabled $.Context $.UnitTypeExternalWiki)}} 298 298 {{$isWikiGlobalDisabled := .UnitTypeWiki.UnitGlobalDisabled}} 299 299 {{$isExternalWikiGlobalDisabled := .UnitTypeExternalWiki.UnitGlobalDisabled}} 300 - {{$isBothWikiGlobalDisabled := and $isWikiGlobalDisabled $isBothWikiGlobalDisabled}} 300 + {{$isBothWikiGlobalDisabled := and $isWikiGlobalDisabled $isExternalWikiGlobalDisabled}} 301 301 <div class="inline field"> 302 302 <label>{{.locale.Tr "repo.wiki"}}</label> 303 303 <div class="ui checkbox{{if $isBothWikiGlobalDisabled}} disabled{{end}}"{{if $isBothWikiGlobalDisabled}} data-tooltip-content="{{.locale.Tr "repo.unit_disabled"}}"{{end}}>