feat(profile): add data-profile-id on profile cards
				
					
				
			This commit is contained in:
		
							parent
							
								
									769cb16a6b
								
							
						
					
					
						commit
						a57b66a1f3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ proc renderStat(num: int; class: string; text=""): VNode =
 | 
			
		|||
      text insertSep($num, ',')
 | 
			
		||||
 | 
			
		||||
proc renderUserCard*(user: User; prefs: Prefs; path: string): VNode =
 | 
			
		||||
  buildHtml(tdiv(class="profile-card")):
 | 
			
		||||
  buildHtml(tdiv(class="profile-card", "data-profile-id" = $user.id)):
 | 
			
		||||
    tdiv(class="profile-card-info"):
 | 
			
		||||
      let
 | 
			
		||||
        url = getPicUrl(user.getUserPic())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue