mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
Follow @wxiaoguang's suggestion
This commit is contained in:
parent
0e18a26c56
commit
6dfaa720db
@ -159,7 +159,7 @@ filter.public = Public
|
|||||||
filter.private = Private
|
filter.private = Private
|
||||||
|
|
||||||
no_results_found = No results found.
|
no_results_found = No results found.
|
||||||
load_failed = Load %s failed because of internal error
|
internal_error_skipped = Internal error occurred but is skipped: %s
|
||||||
|
|
||||||
[search]
|
[search]
|
||||||
search = Search...
|
search = Search...
|
||||||
|
@ -90,7 +90,7 @@ func Commits(ctx *context.Context) {
|
|||||||
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
|
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("FindTagsByCommitIDs: %v", err)
|
log.Error("FindTagsByCommitIDs: %v", err)
|
||||||
ctx.Flash.Error(ctx.Tr("load_failed", "tags"))
|
ctx.Flash.Error(ctx.Tr("internal_error_skipped", "FindTagsByCommitIDs"))
|
||||||
} else {
|
} else {
|
||||||
ctx.Data["CommitsTagsMap"] = commitsTagsMap
|
ctx.Data["CommitsTagsMap"] = commitsTagsMap
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user