[frontend/components] Label files that are the user's avatar or banner
This commit is contained in:
parent
b6047c9dc1
commit
d3ee46634a
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@
|
|||
{
|
||||
<div @ref="FileButton" class="drive-entry" @onclick="SelectFile" @onclick:stopPropagation="true">
|
||||
<div class="labels">
|
||||
@if (File.IsAvatar)
|
||||
{
|
||||
<Icon Name="Icons.UserCircle" title="@Loc["Avatar"]"/>
|
||||
}
|
||||
@if (File.IsBanner)
|
||||
{
|
||||
<Icon Name="Icons.Image" title="@Loc["Banner"]"/>
|
||||
}
|
||||
@if (File.Description != null)
|
||||
{
|
||||
<Icon Name="Icons.ClosedCaptioning" title="@File.Description"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue