kreta/KretaWeb/Areas/Orarend/Views/TanariOrarend/WizardElovalaszto.cshtml
2024-03-13 00:33:46 +01:00

50 lines
No EOL
1.7 KiB
Text

@using Kreta.Resources;
@using Kreta.Web.Areas.Orarend.Models;
@model WizardElovalasztoModel
@{
Layout = null;
}
<div style="padding-top: 15px;">
@if (Model.TanarVehetFelOratMaganak)
{
<div class="row" style="text-align: center;">
@Html.KretaButton("naploTTFBtn", 4596, true, htmlAttributes: new Dictionary<string, object>() { { "style", "width: 65%;margin-bottom: 15px;" } })
</div>
}
@if (Model.LehetOratFelvenniTTFNelkul)
{
<div class="row" style="text-align: center;">
@Html.KretaButton("naploEgyediBtn", 4597, true, htmlAttributes: new Dictionary<string, object>() { { "style", "width: 65%;margin-bottom: 15px;" } })
</div>
}
@if (Model.TanarKezelhetHelyettesitest)
{
<div class="row" style="text-align: center;">
@Html.KretaButton("helyettesitesBtn", 1499, true, htmlAttributes: new Dictionary<string, object>() { { "style", "width: 65%" } })
</div>
}
@if (!Model.TanarVehetFelOratMaganak && !Model.LehetOratFelvenniTTFNelkul && !Model.TanarKezelhetHelyettesitest)
{
var szoveg = string.Empty;
if (Model.HelyettesitendoTanarnakNincsOttOraja)
{
szoveg = OrarendResource.HelyettesitendoTanarnakNincsOttOraja;
}
else if (Model.HelyettesitendoTanarOrajatMarNaploztak)
{
szoveg = OrarendResource.HelyettesitendoTanarOrajatMarNaploztak;
}
else
{
szoveg = ErrorResource.AJelenlegiRendszerbeallitasokNemTeszikLehetoveAFunkciokHasznalatat;
}
<div class="row hibaRow" style="text-align: center;">
<h4>@szoveg</h4>
</div>
}
</div>