52 lines
No EOL
1.9 KiB
Text
52 lines
No EOL
1.9 KiB
Text
@using Kreta.Web.Security
|
|
@using Kreta.Enums
|
|
@using Kreta.Framework;
|
|
@using Kreta.Web.Areas.Adminisztracio.Models;
|
|
|
|
@model ProfilModel
|
|
|
|
@section AddTip
|
|
{
|
|
<ul id="tipList" style="display: none;">
|
|
<li>@(StringResourcesUtil.GetString(4136)) @(StringResourcesUtil.GetString(4179))</li>
|
|
</ul>
|
|
}
|
|
|
|
<h4>@(AdminisztracioResource.Profilbeallitasok)</h4>
|
|
|
|
@Html.KretaTabStrip("ProfilTab").Items(items =>
|
|
{
|
|
items.Add().Text(AdminisztracioResource.EgyediFelhasznaloBeallitasok).Selected(true).LoadContentFrom("LoadTippekBeallitasa", "Profil");
|
|
|
|
if (ClaimData.IsActivTanev)
|
|
{
|
|
items.Add().Text(StringResourcesUtil.GetString(1965)).LoadContentFrom("LoadJelszoModositas", "Profil");
|
|
}
|
|
if ((ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Naplo || (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Ellenorzo && !ClaimData.GondviseloId.HasValue)))
|
|
{
|
|
if (!Model.IsElerhetosegAdatokSzerkeszthetoek && (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Ellenorzo && !ClaimData.GondviseloId.HasValue))
|
|
{
|
|
items.Add().Text(AdminisztracioResource.Elerhetosegek).LoadContentFrom("LoadElerhetosegek", "Profil");
|
|
}
|
|
else
|
|
{
|
|
items.Add().Text(AdminisztracioResource.Elerhetosegek).LoadContentFrom("LoadElerhetosegekSzerk", "Profil");
|
|
}
|
|
}
|
|
|
|
if (ClaimData.GondviseloId.HasValue)
|
|
{
|
|
if (Model.IsElerhetosegAdatokSzerkeszthetoek)
|
|
{
|
|
items.Add().Text(AdminisztracioResource.GondviseloElerhetosegSzerkesztese).LoadContentFrom("LoadGondviseloAdatokSzerk", "Profil");
|
|
}
|
|
else
|
|
{
|
|
items.Add().Text(AdminisztracioResource.GondviseloElerhetoseg).LoadContentFrom("LoadGondviseloAdatok", "Profil");
|
|
}
|
|
}
|
|
if (ClaimData.GondviseloId.HasValue && ClaimData.FeltarGondviseloEnabled)
|
|
{
|
|
items.Add().Text(AdminisztracioResource.Gondviselo4TAdatok).LoadContentFrom("LoadGondviselo4TSzerkesztese", "Profil");
|
|
}
|
|
}).RenderOnModal() |