Skip to content

Commit

Permalink
#448 - Align titles
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Aug 7, 2024
1 parent 971c721 commit fd07999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Money.Blazor.Host/Pages/TrendsMonth.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@attribute [Authorize]
@page "/{Year:int}/trends/{CategoryGuid:guid}"

<Title Icon="chart-line" Main="@($"Trends of category {CategoryName} in {Year}")" Sub="See how the category expenses change in time">
<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" />
Expand Down
2 changes: 1 addition & 1 deletion src/Money.Blazor.Host/Pages/TrendsYear.razor
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down

0 comments on commit fd07999

Please sign in to comment.