annotate Agendas/trunk/src/Agendas.Web/Views/Shared/_LogOnPartial.cshtml @ 37:90f0cab1febc

Sugerencia de resharper sobre optimización
author nelo@MTEySS.neluz.int
date Thu, 17 Mar 2011 17:04:03 -0300
parents c62b77fc33f4
children db4b1e2cae49
rev   line source
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
1 @if(Request.IsAuthenticated) {
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
2 <text>Welcome <b>@Context.User.Identity.Name</b>!
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
3 [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
4 }
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
5 else {
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
6 @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
7 }