mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762)
Fix #30761 Most places use `IsRepoIndexerEnabled` but not `CodeIndexerEnabled`, so it should always use `IsRepoIndexerEnabled` for consistency.
This commit is contained in:
@ -739,7 +739,7 @@
|
||||
<form class="ui form" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<input type="hidden" name="action" value="admin_index">
|
||||
{{if .CodeIndexerEnabled}}
|
||||
{{if .IsRepoIndexerEnabled}}
|
||||
<h4 class="ui header">{{ctx.Locale.Tr "repo.settings.admin_code_indexer"}}</h4>
|
||||
<div class="inline fields">
|
||||
<label>{{ctx.Locale.Tr "repo.settings.admin_indexer_commit_sha"}}</label>
|
||||
|
Reference in New Issue
Block a user