mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Make role tag clickable on user pages (#11019)
This commit is contained in:
		
							parent
							
								
									e8c5117b2d
								
							
						
					
					
						commit
						33a2c0b59e
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -44,8 +44,10 @@
 | 
				
			||||||
					</div>
 | 
										</div>
 | 
				
			||||||
					<div v-if="user.roles.length > 0" class="roles">
 | 
										<div v-if="user.roles.length > 0" class="roles">
 | 
				
			||||||
						<span v-for="role in user.roles" :key="role.id" v-tooltip="role.description" class="role" :style="{ '--color': role.color }">
 | 
											<span v-for="role in user.roles" :key="role.id" v-tooltip="role.description" class="role" :style="{ '--color': role.color }">
 | 
				
			||||||
							<img v-if="role.iconUrl" style="height: 1.3em; vertical-align: -22%;" :src="role.iconUrl"/>
 | 
												<MkA v-adaptive-bg :to="`/roles/${role.id}`">
 | 
				
			||||||
							{{ role.name }}
 | 
													<img v-if="role.iconUrl" style="height: 1.3em; vertical-align: -22%;" :src="role.iconUrl"/>
 | 
				
			||||||
 | 
													{{ role.name }}
 | 
				
			||||||
 | 
												</MkA>
 | 
				
			||||||
						</span>
 | 
											</span>
 | 
				
			||||||
					</div>
 | 
										</div>
 | 
				
			||||||
					<div v-if="iAmModerator" class="moderationNote">
 | 
										<div v-if="iAmModerator" class="moderationNote">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue