0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-05-23 13:53:57 +02:00
This commit is contained in:
silverwind 2024-04-25 23:05:01 +02:00
parent 2c9a036ad6
commit 34c6e6f4b3
No known key found for this signature in database
GPG key ID: 2E62B41C93869443

View file

@ -420,7 +420,7 @@ func DiffPreviewPost(ctx *context.Context) {
}
if diff.NumFiles == 0 {
ctx.PlainText(http.StatusOK, `<div class="tw-p-6">` + ctx.Locale.TrString("repo.editor.no_changes_to_show") + `</div>`)
ctx.PlainText(http.StatusOK, `<div class="tw-p-6">`+ctx.Locale.TrString("repo.editor.no_changes_to_show")+`</div>`)
return
}
ctx.Data["File"] = diff.Files[0]