init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
52
KretaWeb/Areas/Adminisztracio/Views/Profil/Index.cshtml
Normal file
52
KretaWeb/Areas/Adminisztracio/Views/Profil/Index.cshtml
Normal file
|
@ -0,0 +1,52 @@
|
|||
@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()
|
Loading…
Add table
Add a link
Reference in a new issue