#19543: Fixing double-escaping of username on dashboard that caused names with

accented characters be displayed wrong
Work Item: 19543

--HG--
branch : 1.x
This commit is contained in:
Zoltán Lehóczky
2013-05-15 17:06:22 +02:00
parent 3fef593881
commit 5036e9db5f

View File

@@ -1,2 +1,2 @@
@model dynamic
@if (Model.CurrentUser != null) {<div id="login">@T("User:") @Convert.ToString(Html.ItemDisplayText((Orchard.ContentManagement.IContent)Model.CurrentUser)) | @Html.ActionLink(T("Logout").ToString(), "LogOff", new { Area = "Orchard.Users", Controller = "Account" })</div>}
@if (Model.CurrentUser != null) {<div id="login">@T("User:") @Html.ItemDisplayText((Orchard.ContentManagement.IContent)Model.CurrentUser) | @Html.ActionLink(T("Logout").ToString(), "LogOff", new { Area = "Orchard.Users", Controller = "Account" })</div>}