mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Add mentionable teams to tributeValues and change team mention rules to gh's style (#13198)
* Add mentionable teams to tributeValues Signed-off-by: a1012112796 <1012112796@qq.com> * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> * Change team mention rules to gh's style * use org's avator as team avator in ui Signed-off-by: a1012112796 <1012112796@qq.com> * Update modules/markup/html.go * Update models/issue.go Co-authored-by: Lauris BH <lauris@nix.lv> * Update models/issue.go * fix a small nit and update test code Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
		@@ -400,5 +400,5 @@ func TestIssue_ResolveMentions(t *testing.T) {
 | 
			
		||||
	// Private repo, not a team member
 | 
			
		||||
	testSuccess("user17", "big_test_private_4", "user20", []string{"user5"}, []int64{})
 | 
			
		||||
	// Private repo, whole team
 | 
			
		||||
	testSuccess("user17", "big_test_private_4", "user15", []string{"owners"}, []int64{18})
 | 
			
		||||
	testSuccess("user17", "big_test_private_4", "user15", []string{"user17/owners"}, []int64{18})
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user