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