소스 검색

fmt

pull/30707/head
silverwind 3 주 전
부모
커밋
34c6e6f4b3
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      routers/web/repo/editor.go

+ 1
- 1
routers/web/repo/editor.go 파일 보기

@@ -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]

Loading…
취소
저장