silverwind 1 месяц назад
Родитель
Сommit
34c6e6f4b3
Аккаунт пользователя с таким Email не найден
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]

Загрузка…
Отмена
Сохранить