You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
582 B
23 lines
582 B
@namespace Connected.Components
|
|
@inherits UIComponent
|
|
|
|
@if(AvatarGroup == null || AvatarGroup.MaxGroupReached(this))
|
|
{
|
|
<div @attributes="UserAttributes" class="@Classname" style="@Stylesname">
|
|
@if (!String.IsNullOrEmpty(Image))
|
|
{
|
|
if (!String.IsNullOrEmpty(Alt))
|
|
{
|
|
<img src="@Image" alt="@Alt" class="mud-avatar-img" />
|
|
}
|
|
else
|
|
{
|
|
<img src="@Image" class="mud-avatar-img" />
|
|
}
|
|
}
|
|
else
|
|
{
|
|
@ChildContent
|
|
}
|
|
</div>
|
|
} |