UI related changed for ENABLE_SIZE_LIMIT & REPO_SIZE_LIMIT options

This commit is contained in:
truecode112
2023-05-15 17:06:39 +00:00
committed by DmitryFrolovTri
parent a22b73866a
commit 66c476e5de
7 changed files with 98 additions and 1 deletions
+6
View File
@@ -28,6 +28,12 @@ import (
// |____|_ /_______ / |____| \_______ /_______ /|___| |____| \_______ /____|_ // ______|
// \/ \/ \/ \/ \/ \/ \/
// UpdateGlobalRepoFrom for updating global repository setting
type UpdateGlobalRepoFrom struct {
RepoSizeLimit string
EnableSizeLimit bool
}
// CreateRepoForm form for creating repository
type CreateRepoForm struct {
UID int64 `binding:"Required"`