@model ProfileIndexModel @using SmartStore.Web.Models.Profile; @using SmartStore.Web.Framework.UI; @{ Layout = "~/Views/Shared/_ColumnsOne.cshtml"; Html.AddTitleParts(T("PageTitle.Profile").Text); }

@Model.ProfileTitle

@{ var postsTabSelected = Model.PagingPosts; } @Html.SmartStore().TabStrip().Name("tabs").SmartTabSelection(false).Items(c => { c.Add().Text(T("Profile.PersonalInfo").Text) .Selected(!postsTabSelected) .Content(Html.Action("info", new { customerProfileId = Model.CustomerProfileId }).ToString()); if (Model.ForumsEnabled) { c.Add().Text(T("Profile.LatestPosts").Text) .Selected(postsTabSelected) .Content(Html.Action("posts", new { customerProfileId = Model.CustomerProfileId, page = Model.PostsPage }).ToString()); } })