annotate Agendas/trunk/src/Agendas.Web/Views/Shared/_LogOnPartial.cshtml @ 179:1deccd6c3cb2

Aplicando seguridad x roles en sitio web
author nelopauselli
date Mon, 08 Aug 2011 15:24:26 -0300
parents f6e4af3a0b09
children
rev   line source
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
1 @if(Request.IsAuthenticated) {
159
f6e4af3a0b09 Cambios mínimos de diseño.
juanjose.montesdeocaarbos
parents: 94
diff changeset
2 <text>Bienvenido <b>@Html.DisplayName()</b>!
f6e4af3a0b09 Cambios mínimos de diseño.
juanjose.montesdeocaarbos
parents: 94
diff changeset
3 [ @Html.ActionLink("Salir", "LogOff", "Account") ]</text>
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
4 }
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
5 else {
159
f6e4af3a0b09 Cambios mínimos de diseño.
juanjose.montesdeocaarbos
parents: 94
diff changeset
6 @:[ @Html.ActionLink("Ingresar", "LogOn", "Account") ]
10
c62b77fc33f4 website inicial
nelo@MTEySS.neluz.int
parents:
diff changeset
7 }