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
606 B
23 lines
606 B
@namespace Connected.Components
|
|
@inherits UIComponent
|
|
|
|
@if(AvatarGroup is null || AvatarGroup.MaxGroupReached(this))
|
|
{
|
|
<div @attributes="CustomAttributes" class="@CompiledClassList" style="@CompiledStyles">
|
|
@if (!String.IsNullOrEmpty(Image))
|
|
{
|
|
if (!String.IsNullOrEmpty(ImageAltText))
|
|
{
|
|
<img src="@Image" alt="@ImageAltText" class="avatar-img" />
|
|
}
|
|
else
|
|
{
|
|
<img src="@Image" class="avatar-img" />
|
|
}
|
|
}
|
|
else
|
|
{
|
|
@ChildContent
|
|
}
|
|
</div>
|
|
} |