mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Show owner/poster tags of comments and fix #1312
This commit is contained in:
		@@ -247,8 +247,8 @@ func (repo *Repository) HasAccess(u *User) bool {
 | 
			
		||||
	return has
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (repo *Repository) IsOwnedBy(u *User) bool {
 | 
			
		||||
	return repo.OwnerID == u.Id
 | 
			
		||||
func (repo *Repository) IsOwnedBy(userID int64) bool {
 | 
			
		||||
	return repo.OwnerID == userID
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DescriptionHtml does special handles to description and return HTML string.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user