Added guidelines from the organization to the BeyondFacts Lab (#1204)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-15 11:40:15 +01:00
1 parent cb54ad297d
commit 1361b984eb
38 files changed
+967 -255

No files matched your search

@@ -14,7 +14,8 @@
</MudStack>
<InnerScrolling>
@* How to work with the lab opens by itself while there is no preparation yet. *@
@* How to work with the lab opens by itself while there is no preparation yet. The guidelines of the
organization appear only when a configuration plugin sets them, and open with every visit. *@
<MudExpansionPanels MultiExpansion="@true" Class="mb-6 mr-3">
<ExpansionPanel HeaderIcon="@AppIcons.INTRODUCTION" HeaderText="@T("Working with the lab")" IsExpanded="@this.introductionExpanded" ExpandedChanged="@this.IntroductionExpandedChanged">
<BflIntroduction/>
@@ -22,6 +23,13 @@
<ExpansionPanel HeaderIcon="@AppIcons.HELP" HeaderText="@T("Is the lab right for my task?")">
<BflOnboarding/>
</ExpansionPanel>
@if (!string.IsNullOrWhiteSpace(this.OrganizationRules))
{
<ExpansionPanel HeaderIcon="@AppIcons.ORGANIZATION" HeaderText="@TA("Guidelines from your organization")" IsExpanded="@this.organizationRulesExpanded" ExpandedChanged="@this.OrganizationRulesExpandedChanged">
<MudText Typo="Typo.body2" Class="mb-3">@string.Format(Culture, TA("Your organization has set these guidelines for public appearances. The conversations of the steps know them as well, and the material '{0}' ends with them."), BflResultKind.OPEN_POINTS.Title)</MudText>
<MudMarkdown Value="@this.OrganizationRules" Props="Markdown.DefaultConfig" MarkdownPipeline="Markdown.SAFE_MARKDOWN_PIPELINE"/>
</ExpansionPanel>
}
</MudExpansionPanels>
<MudText Typo="Typo.h5" Class="mb-1">@TA("Your preparations")</MudText>