diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-05-14 00:59:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 21:59:01 +0000 |
commit | 4810fe55e3e73edb962052df46bef125eb1817b3 (patch) | |
tree | f5f842d1d961a831f0d5daefb8b8e5f68e574115 /web_src/js/features/org-team.js | |
parent | 68081c4721b9aeabe368f3eaeb8a4922c15d6918 (diff) | |
download | gitea-4810fe55e3e73edb962052df46bef125eb1817b3.tar.gz gitea-4810fe55e3e73edb962052df46bef125eb1817b3.zip |
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
![image](https://github.com/go-gitea/gitea/assets/20454870/aa1326c7-43c0-458a-a798-3102c766bcf9)
# After
![image](https://github.com/go-gitea/gitea/assets/20454870/8658cc03-2224-442a-b1c8-bf64126e4575)
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/js/features/org-team.js')
-rw-r--r-- | web_src/js/features/org-team.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/org-team.js b/web_src/js/features/org-team.js index 3640bb96f7..957dce02d8 100644 --- a/web_src/js/features/org-team.js +++ b/web_src/js/features/org-team.js @@ -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 }); }); |