Customize step-in
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
/// </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
|
||||
/// or section within the application.
|
||||
/// </summary>
|
||||
public string? StepInName { get; set; } = "StepIn";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the title of the application.
|
||||
/// This property holds the display name or title of the application,
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
AllowInteraction="@(StateFilter == ProspectStateFilter.OnBoarding && CurrentUser.IsInGroup(UserGroup.WelcomeTeam))"
|
||||
AddClick="() => AddInteraction(InteractionType.StepInBriefing)"
|
||||
RemoveClick="@RemoveInteraction"
|
||||
Caption="Neulingstreffen"
|
||||
Caption="@AppSettings.StepInName"
|
||||
ButtonIconClass="fa-solid fa-check"
|
||||
IconClass="fa-solid fa-graduation-cap">
|
||||
</InteractionRow>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@using FoodsharingSiegen.Contracts.Model
|
||||
@inherits FsBase
|
||||
@code {
|
||||
|
||||
[Parameter]
|
||||
@@ -28,7 +29,7 @@
|
||||
</div>
|
||||
<div class="card-body" style="padding: .5rem;">
|
||||
<div style="margin-left: 1rem;">
|
||||
<Switch TValue="bool" Checked="Filter.WithoutStepInBriefing" CheckedChanged="WithoutStepInBriefingChangedAsync">Ohne Neulingstreffen</Switch>
|
||||
<Switch TValue="bool" Checked="Filter.WithoutStepInBriefing" CheckedChanged="WithoutStepInBriefingChangedAsync">Ohne @AppSettings.StepInName</Switch>
|
||||
</div>
|
||||
<TextEdit Text="@Filter.Text" TextChanged="TextChanged" Placeholder="Suchen..." Debounce="true" DebounceInterval="150"/>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
@using FoodsharingSiegen.Contracts.Entity
|
||||
|
||||
@inherits FsBase
|
||||
|
||||
<Modal @ref="ModalReference">
|
||||
<ModalContent Centered Size="ModalSize.Default">
|
||||
<ModalHeader>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
using Blazorise;
|
||||
using FoodsharingSiegen.Contracts.Entity;
|
||||
using FoodsharingSiegen.Contracts.Model;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace FoodsharingSiegen.Server.Dialogs
|
||||
{
|
||||
@@ -73,7 +75,7 @@ namespace FoodsharingSiegen.Server.Dialogs
|
||||
_showInfo = true;
|
||||
break;
|
||||
case InteractionType.StepInBriefing:
|
||||
_header = "Neulingstreffen absolviert";
|
||||
_header = $"{AppSettings.StepInName} absolviert";
|
||||
break;
|
||||
case InteractionType.ReleasedForVerification:
|
||||
_header = "Zur Verifizierung freigegeben";
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
"Title": "Andres Superduperbezirk"
|
||||
"Title": "Andres Superduperbezirk",
|
||||
"StepInName": "Krabbelgruppe"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user