diff --git a/templates/repo/commit_load_branches_and_tags.tmpl b/templates/repo/commit_load_branches_and_tags.tmpl index c19aa55c56..4d90696cb4 100644 --- a/templates/repo/commit_load_branches_and_tags.tmpl +++ b/templates/repo/commit_load_branches_and_tags.tmpl @@ -1,3 +1,4 @@ +{{if not .PageIsWiki}} <div class="branch-and-tag-area" data-text-default-branch-tooltip="{{.locale.Tr "repo.commit.contained_in_default_branch"}}"> <button class="ui button ellipsis-button load-branches-and-tags gt-mt-3" aria-expanded="false" data-fetch-url="{{.RepoLink}}/commit/{{.CommitID}}/load-branches-and-tags" @@ -16,3 +17,4 @@ </div> </div> </div> +{{end}}