PavelAndreyev1337_itransition-course-project/CollectionApp/CollectionApp.WEB/Views/_Author.cshtml
@using Microsoft.AspNetCore.Mvc.Localization
@model CollectionApp.DAL.Entities.User

@inject IViewLocalizer Localizer

<p class="mb-0">
    <i class="collection-topic">@Localizer["AuthorUsername"]: @Model.UserName</i>
</p>
@if (Model.Email != null)
{
    <p class="mb-0">
        <i class="collection-topic">@Localizer["Email"]: @Model.Email</i>
    </p>
}
