diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 569a576ce..b247e85fa 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -680,9 +680,11 @@ {{end}}

{{.locale.Tr "repo.settings.admin_stats_indexer"}}

- + {{if and .StatsIndexerStatus .StatsIndexerStatus.CommitSha}} + + {{end}} - {{if .StatsIndexerStatus}} + {{if and .StatsIndexerStatus .StatsIndexerStatus.CommitSha}} {{ShortSha .StatsIndexerStatus.CommitSha}}