From fd07999427b20b0306f8ff1118fc35ec02238fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fi=C5=A1era?= Date: Wed, 7 Aug 2024 20:16:56 +0200 Subject: [PATCH] #448 - Align titles --- src/Money.Blazor.Host/Pages/TrendsMonth.razor | 2 +- src/Money.Blazor.Host/Pages/TrendsYear.razor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Money.Blazor.Host/Pages/TrendsMonth.razor b/src/Money.Blazor.Host/Pages/TrendsMonth.razor index f9ae2bc8..cec9033c 100644 --- a/src/Money.Blazor.Host/Pages/TrendsMonth.razor +++ b/src/Money.Blazor.Host/Pages/TrendsMonth.razor @@ -1,7 +1,7 @@ @attribute [Authorize] @page "/{Year:int}/trends/{CategoryGuid:guid}" - +<Title Icon="chart-line" Main="@($"{CategoryName} trends in {Year}")" Sub="See how the category expenses change in time"> <ButtonContent> <button class="btn btn-secondary" @onclick="(() => Navigator.OpenOverview(SelectedPeriod, CategoryKey))"> <Icon Prefix="fas" Identifier="list-ul" /> diff --git a/src/Money.Blazor.Host/Pages/TrendsYear.razor b/src/Money.Blazor.Host/Pages/TrendsYear.razor index 6e53c507..7bbc822c 100644 --- a/src/Money.Blazor.Host/Pages/TrendsYear.razor +++ b/src/Money.Blazor.Host/Pages/TrendsYear.razor @@ -1,7 +1,7 @@ @attribute [Authorize] @page "/trends/{CategoryGuid:guid}" -<Title Icon="chart-line" Main="@($"Trends of category {CategoryName} from {StartYear} to {StartYear.Year + ModelsCount - 1}")" Sub="See how the category expenses change in time" /> +<Title Icon="chart-line" Main="@($"{CategoryName} trends from {StartYear} to {StartYear.Year + ModelsCount - 1}")" Sub="See how the category expenses change in time" /> @if (Models == null) {