Show year of logo starting usage if available, fixes #18.

This commit is contained in:
2020-08-06 01:02:45 +01:00
parent 34ff03aca1
commit 590676bea7
3 changed files with 8 additions and 1 deletions

View File

@@ -84,6 +84,10 @@
/assets/logos/png/1x/@(logo.Guid).webp 3x" src="/assets/logos/png/1x/@(logo.Guid).png" alt="" height="auto" width="auto" style="max-height: 256px; max-width: 256px" />
</picture>
</div>
@if(logo.Year.HasValue)
{
<div style="text-align: center;">@(string.Format(L["in use since {0}"], logo.Year))</div>
}
</CarouselSlide>
}
</Carousel>