mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Add links to owner home page in explore (#28341)
User can select access repo or owner's home page. Before:  After: 
This commit is contained in:
		| @@ -7,9 +7,10 @@ | |||||||
| 			<div class="flex-item-main"> | 			<div class="flex-item-main"> | ||||||
| 				<div class="flex-item-header"> | 				<div class="flex-item-header"> | ||||||
| 					<div class="flex-item-title"> | 					<div class="flex-item-title"> | ||||||
| 						<a class="text primary name" href="{{.Link}}"> | 						{{if and (or $.PageIsExplore $.PageIsProfileStarList) .Owner}} | ||||||
| 							{{if or $.PageIsExplore $.PageIsProfileStarList}}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} | 						<a class="text primary name" href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>/ | ||||||
| 						</a> | 						{{end}} | ||||||
|  | 						<a class="text primary name" href="{{.Link}}">{{.Name}}</a> | ||||||
| 						<span class="label-list"> | 						<span class="label-list"> | ||||||
| 							{{if .IsArchived}} | 							{{if .IsArchived}} | ||||||
| 								<span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span> | 								<span class="ui basic label">{{ctx.Locale.Tr "repo.desc.archived"}}</span> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user