Update Appsettings, Update PageTitle

This commit is contained in:
Andre Beging
2025-03-28 07:23:59 +01:00
parent 3e9efd65c7
commit d11a225ffa
10 changed files with 19 additions and 16 deletions

View File

@@ -4,13 +4,6 @@
{
#region Public Properties
/// <summary>
/// Gets or sets the title displayed in the sidebar.
/// This property represents the text that appears in the application's sidebar,
/// typically used for informational or navigational purposes.
/// </summary>
public string? SidebarTitle { get; set; }
/// <summary>
/// Gets or sets the name of the "StepIn."
/// This property typically represents the label or identifier used for a specific feature
@@ -25,6 +18,13 @@
/// </summary>
public string? Title { get; set; } = "Foodsharing Musterhausen";
/// <summary>
/// Gets or sets the title displayed in the sidebar.
/// This property represents the text that appears in the application's sidebar,
/// typically used for informational or navigational purposes.
/// </summary>
public string? TitleShort { get; set; }
#endregion
}
}

View File

@@ -6,7 +6,7 @@
@inherits FsBase
<PageTitle>@AppSettings.Title - Aktivitäten</PageTitle>
<PageTitle>Aktivitäten - @AppSettings.Title</PageTitle>
<div class="d-flex flex-column p-audit">
<h2>Aktivitäten</h2>

View File

@@ -4,6 +4,8 @@
@inherits FoodsharingSiegen.Server.BaseClasses.FsBase
<PageTitle>@AppSettings.Title</PageTitle>
<div class="d-flex justify-content-center align-items-center" style="height: 100vh;">
<div class="card" style="width: 100%; max-width: 380px;">
<div class="card-header">@AppSettings.Title</div>

View File

@@ -7,7 +7,7 @@
@inherits FsBase
<PageTitle>@AppSettings.Title - Profil</PageTitle>
<PageTitle>Profil - @AppSettings.Title</PageTitle>
<div style="width: 100%; max-width: 500px;">

View File

@@ -4,7 +4,7 @@
@inherits FsBase
<PageTitle>@AppSettings.Title - Neue Foodsaver</PageTitle>
<PageTitle>Neue Foodsaver - @AppSettings.Title</PageTitle>
<h2>Neue Foodsaver</h2>
<Button

View File

@@ -2,7 +2,7 @@
@inherits FsBase
<PageTitle>@AppSettings.Title - Abgeschlossene Einarbeitungen</PageTitle>
<PageTitle>Abgeschlossene Einarbeitungen - @AppSettings.Title</PageTitle>
<h2>Abgeschlossene Einarbeitungen</h2>
@{
@@ -31,7 +31,7 @@
<div class="row m-0">
<Repeater Items="@filterList">
<ProspectContainer Prospect="context" RemoveInteraction="RemoveInteraction"></ProspectContainer>
<ProspectContainer Prospect="context" RemoveInteraction="RemoveInteraction" StateFilter="ProspectStateFilter.Completed"></ProspectContainer>
</Repeater>
</div>
}

View File

@@ -2,7 +2,7 @@
@inherits FsBase
<PageTitle>@AppSettings.Title - </PageTitle>
<PageTitle>Freischalten - @AppSettings.Title</PageTitle>
<h2>Freischalten</h2>

View File

@@ -22,7 +22,7 @@
}
<PageTitle>@AppSettings.Title - Benutzerverwaltung</PageTitle>
<PageTitle>Benutzerverwaltung - @AppSettings.Title</PageTitle>
<h2>Benutzerverwaltung <span style="font-size: .5em; line-height: 0;">Admin</span></h2>

View File

@@ -2,7 +2,7 @@
<div class="nav-logo"></div>
<div class="d-flex px-3 justify-content-center text-center font-weight-bold">
Einarbeitungen<br/>
@(AppSettings.SidebarTitle ?? AppSettings.Title)
@(AppSettings.TitleShort ?? AppSettings.Title)
</div>
<div class="d-flex px-3 mt-3 justify-content-center text-center font-weight-bold">
Hallo @CurrentUser.Name!

View File

@@ -7,7 +7,8 @@
}
},
"Settings": {
"Title": "Andres Superduperbezirk",
"Title": "Foodsharing Musterhausen",
"TitleShort": "Musterhausen",
"StepInName": "Krabbelgruppe"
}
}