Interactions als Notneeded markieren

This commit is contained in:
Andre Beging
2022-04-04 16:31:18 +02:00
parent c71d677b75
commit c70fb6426c
5 changed files with 54 additions and 16 deletions

View File

@@ -21,6 +21,7 @@ namespace FoodsharingSiegen.Server.Dialogs
private string _header;
private string _infoName;
private bool _showInfo;
private bool _showNotNeeded;
protected override async Task OnParametersSetAsync()
{
@@ -40,7 +41,7 @@ namespace FoodsharingSiegen.Server.Dialogs
case InteractionType.EinAb:
_header = "Einführung eintragen";
_showInfo = true;
_infoName = "Betrieb";
_infoName = "Welcher Betrieb?";
break;
case InteractionType.Welcome:
_header = "Begrüßung eintragen";
@@ -51,10 +52,12 @@ namespace FoodsharingSiegen.Server.Dialogs
break;
case InteractionType.PrintPass:
_header = "FS-Ausweis (Print)";
_showNotNeeded = true;
_showInfo = true;
break;
case InteractionType.PdfPass:
_header = "FS-Ausweis (PDF)";
_showNotNeeded = true;
_showInfo = true;
break;
case InteractionType.Verify: