@using EnVisage.Code @using Prevu.Core.Main @model string @{ ViewBag.Title = "Roadmap Optimizer"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section stylesheets { @Styles.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_STYLES_BASE_PATH, "prevu-rmostyles")) } @section Scripts { @Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "flot-scripts")) @Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-angularservices")) @Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-scenariodetails")) @Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "prevu-rmopage")) } @section pagemenu { } @{ var userId = SecurityManager.GetUserPrincipal(); var userManager = DependencyResolver.Current.GetService(); var user = userManager.GetUser(userId); var pagePreferences = userManager.GetPagePreferences(Url.Action("Index", "Mix"), "mixCalendar", userId); var json = Newtonsoft.Json.JsonConvert.SerializeObject(new { mixId = Model, showAvgTotals = user.PreferredTotalsDisplaying, prefs = pagePreferences }); }
@Html.AntiForgeryToken()
Mix:

@* Need to show only if selected mix is exists and it is not current opened mix *@ @* SA. ENV-1138. Delete selected, but unopened mix *@
To
@* Client-side filters by Cost Centers and Project Roles *@
@Html.ValidationSummary(false, "The Mix could not be saved due to the following errors:")
@if (SecurityManager.CheckSecurityObjectPermission(Areas.Teams, AccessLevel.Write)) {  Create Team }
@Html.Partial("_mixCalendar", json)