mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix and improve dashboard repo UI (#2285)
* Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
This commit is contained in:
		@@ -5,6 +5,7 @@
 | 
			
		||||
package repo
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"strings"
 | 
			
		||||
 | 
			
		||||
	api "code.gitea.io/sdk/gitea"
 | 
			
		||||
@@ -91,6 +92,7 @@ func Search(ctx *context.APIContext) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	ctx.SetLinkHeader(int(count), setting.API.MaxResponseItems)
 | 
			
		||||
	ctx.Header().Set("X-Total-Count", fmt.Sprintf("%d", count))
 | 
			
		||||
	ctx.JSON(200, api.SearchResults{
 | 
			
		||||
		OK:   true,
 | 
			
		||||
		Data: results,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user