mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 10:56:10 +01:00 
			
		
		
		
	New admin notice UI based on user list example
This commit is contained in:
		| @@ -94,6 +94,7 @@ var ( | ||||
| 	ExplorePagingNum   int | ||||
| 	IssuePagingNum     int | ||||
| 	AdminUserPagingNum int | ||||
| 	AdminNoticePagingNum int | ||||
|  | ||||
| 	// Markdown sttings. | ||||
| 	Markdown struct { | ||||
| @@ -370,6 +371,7 @@ func NewContext() { | ||||
|  | ||||
| 	sec = Cfg.Section("ui.admin") | ||||
| 	AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50) | ||||
| 	AdminNoticePagingNum = sec.Key("NOTICE_PAGING_NUM").MustInt(50) | ||||
|  | ||||
| 	sec = Cfg.Section("picture") | ||||
| 	PictureService = sec.Key("SERVICE").In("server", []string{"server"}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user