mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-10 05:26:44 +03:00
Add fork tags to repository UI and enhance organization cards with repository breakdown
- Add fork tags to repository table and dashboard list components - Display 'Fork' badge for repositories where isForked is true - Enhance organization cards to show breakdown of public, private, and fork repositories - Update organization API to respect user configuration filters (private repos, forks) - Add visual indicators with colored dots for each repository type - Ensure consistent filtering between repository and organization APIs - Fix issue where private repositories weren't showing due to configuration filtering
This commit is contained in:
@@ -81,6 +81,11 @@ export function RepositoryList({ repositories }: RepositoryListProps) {
|
||||
Private
|
||||
</span>
|
||||
)}
|
||||
{repo.isForked && (
|
||||
<span className="rounded-full bg-muted px-2 py-0.5 text-xs">
|
||||
Fork
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<div className="flex items-center gap-2 mt-1">
|
||||
<span className="text-xs text-muted-foreground">
|
||||
|
||||
Reference in New Issue
Block a user