@model IndexViewModel @{ ViewData["Title"] = @SR["Manage your account"]; }

@ViewData["Title"]

@ViewData["StatusMessage"]

@SR["Change your account settings"]


@SR["UserName"]:
@Model.UserName [@SR["Change"]]
@if (Model.Roles.Count()>0) {
@SR["Roles"]:
@string.Join(", ",Model.Roles)
}
@SR["Password"]:
[@if (Model.HasPassword) {@SR["Change"]} else {@SR["Create"]}]
@SR["External Logins"]:
@Model.Logins.Count [@SR["Manage"]]
@SR["Activity"]:
@Model.Activity?.Name [@SR[@Model.Activity==null?"Set":"Modify settings"]]
@SR["YourPosts"]:
@Model.PostsCounter [@SR["YourPosts"]]
@SR["TwoFactorAuthentication"]:
@if (Model.TwoFactor) { using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @SR["Enabled"] } } else { using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @SR["Disabled"] } }
@SR["Calendar"]
@SR[Model.HasDedicatedCalendar?"Yes":"No"] [@SR["Select a Google calendar"]]
Credits:
@(Model.Balance?.Credits ?? 0) € [@SR["Manage"]]

@SR["Unregister"]