@using EnVisage.Code @model string @{ ViewBag.Title = "Roadmap Optimizer"; Layout = "~/Views/Shared/_Layout.cshtml"; } @section stylesheets { } @section Scripts { @Scripts.Render("~/bundles/angular-app-modules") } @section pagemenu { } @{ var user = (new EnVisage.Code.Cache.UsersCache()).Value.FirstOrDefault(x => x.Id == new Guid(User.Identity.GetID())); var pagePreferences = user.GetPreferences(Url.Action("Index", "Mix"), "mixCalendar"); 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
@Html.ValidationSummary(false, "The Mix could not be saved due to the following errors:")
 Create Team
@Html.Partial("_mixCalendar", json)