mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
036a6e2442
* feat(module: i18n): implement IStringLocalizer * fix resource name * add blazor string localizer * replace localizer * add proj * refacor assembly * fix namespace * rename * rename * clean * clean * clean * add docs
24 lines
842 B
C#
24 lines
842 B
C#
<ul class="contributors-list" style="display: flex; list-style: none; margin: 0px; padding: 0px;">
|
|
@if (_avatarList?.Any() == true)
|
|
{
|
|
@foreach (var item in _avatarList)
|
|
{
|
|
<Tooltip Title="@($"{Localizer["app.content.contributors"]}:{item.Username}")">
|
|
<Unbound>
|
|
<a @ref="context.Current" target="_blank" href="@item.ProfileUrl">
|
|
<Avatar Text="@item.Username" Src="@item.Url" />
|
|
</a>
|
|
</Unbound>
|
|
</Tooltip>
|
|
}
|
|
}
|
|
else
|
|
{
|
|
for (var i = 0; i < 3; i++)
|
|
{
|
|
<SkeletonElement Style="margin-right: 8px;margin-bottom: 8px;" Type="avatar"
|
|
Active Size="SkeletonElementSize.Default" Shape="@AvatarShape.Circle" />
|
|
}
|
|
}
|
|
</ul>
|