#18299: Adding rel="nofollow" to Sign In links

Work Item: 18299

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-12-28 10:17:29 -08:00
parent 9f7175f6f5
commit fa2aaf22d2

View File

@@ -10,6 +10,6 @@
@Html.ActionLink(T("Dashboard").ToString(), "Index", new { Area = "Dashboard", Controller = "Admin" })
</span>
} else {
<span class="user-actions">@Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = (Request.QueryString["ReturnUrl"] ?? Request.RawUrl) })</span>
<span class="user-actions">@Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = (Request.QueryString["ReturnUrl"] ?? Request.RawUrl) }, new { rel = "nofollow" })</span>
}
</div>