1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 10:48:37 +00:00

Rename boardview type -> template type

This commit is contained in:
Lunny Xiao
2024-03-30 21:01:51 +08:00
parent ecdc683cc1
commit 311a82ff72
9 changed files with 90 additions and 90 deletions

View File

@@ -508,7 +508,7 @@ func (i IssueLockForm) HasValidReason() bool {
type CreateProjectForm struct {
Title string `binding:"Required;MaxSize(100)"`
Content string
BoardType project_model.BoardViewType
BoardType project_model.TemplateType // NOTE: don't change the name except you know what you are doing
CardType project_model.CardType
}
@@ -517,7 +517,7 @@ type CreateProjectForm struct {
type UserCreateProjectForm struct {
Title string `binding:"Required;MaxSize(100)"`
Content string
BoardType project_model.BoardViewType
BoardType project_model.TemplateType
CardType project_model.CardType
UID int64 `binding:"Required"`
}