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 Прегледај датотеку

} }


if diff.NumFiles == 0 { 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 return
} }
ctx.Data["File"] = diff.Files[0] ctx.Data["File"] = diff.Files[0]

Loading…
Откажи
Сачувај