mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 01:57:20 +00:00
Use a common message template instead of a special one (#31878)
This commit is contained in:
@ -90,7 +90,7 @@ func Commits(ctx *context.Context) {
|
||||
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
|
||||
if err != nil {
|
||||
log.Error("FindTagsByCommitIDs: %v", err)
|
||||
ctx.Flash.Error(ctx.Tr("repo.commit.load_tags_failed"))
|
||||
ctx.Flash.Error(ctx.Tr("internal_error_skipped", "FindTagsByCommitIDs"))
|
||||
} else {
|
||||
ctx.Data["CommitsTagsMap"] = commitsTagsMap
|
||||
}
|
||||
|
Reference in New Issue
Block a user