mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Add status indicator on main home screen for each repo (#24638)
It will show the calculated commit status state of the latest commit on the default branch for each repository in the dashboard repo list - Closes #15620 # Before  # After  --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		| @@ -26,8 +26,8 @@ export function initOrgTeamSearchRepoBox() { | ||||
|         const items = []; | ||||
|         $.each(response.data, (_i, item) => { | ||||
|           items.push({ | ||||
|             title: item.full_name.split('/')[1], | ||||
|             description: item.full_name | ||||
|             title: item.repository.full_name.split('/')[1], | ||||
|             description: item.repository.full_name | ||||
|           }); | ||||
|         }); | ||||
|  | ||||
|   | ||||
| @@ -291,8 +291,8 @@ export function initRepoIssueReferenceRepositorySearch() { | ||||
|           const filteredResponse = {success: true, results: []}; | ||||
|           $.each(response.data, (_r, repo) => { | ||||
|             filteredResponse.results.push({ | ||||
|               name: htmlEscape(repo.full_name), | ||||
|               value: repo.full_name | ||||
|               name: htmlEscape(repo.repository.full_name), | ||||
|               value: repo.repository.full_name | ||||
|             }); | ||||
|           }); | ||||
|           return filteredResponse; | ||||
|   | ||||
| @@ -34,8 +34,8 @@ export function initRepoTemplateSearch() { | ||||
|             // Parse the response from the api to work with our dropdown | ||||
|             $.each(response.data, (_r, repo) => { | ||||
|               filteredResponse.results.push({ | ||||
|                 name: htmlEscape(repo.full_name), | ||||
|                 value: repo.id | ||||
|                 name: htmlEscape(repo.repository.full_name), | ||||
|                 value: repo.repository.id | ||||
|               }); | ||||
|             }); | ||||
|             return filteredResponse; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user