@model Neo.LegitimateLicences.Dashboards.DashboardModel
@using Neo.Afx.ComponentModel
@using Neo.Afx.Security
@using Neo.Afx.Mvc
@using Neo.LegitimateLicences.Common;
@{
var userSecurables = (Profile != null && ((Neo.Afx.Security.UserProfile)Profile).Securables != null) ? ((Neo.Afx.Security.UserProfile)Profile).Securables.ToList() : null;
}
@if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule))
{
@Html.Partial("ApplicationSummary")
}
@if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule_Gazettes))
{
@Html.Partial("GazetteStatusSummary")
}
@if (SecurityHelper.UserHasAccessToSecurable(userSecurables, SecurableEnum.ApplicationsModule_Adjudication))
{
@Html.Partial("AdjudicationStatusSummary")
}