view Agendas/trunk/src/Agendas.Web/Views/Shared/_LogOnPartial.cshtml @ 155:23aaf98b8377

Generalizando editores en EditorDefault basando los textos en recursos
author Nelo@Guinea.neluz.int
date Wed, 03 Aug 2011 09:38:23 -0300
parents db4b1e2cae49
children f6e4af3a0b09
line wrap: on
line source

@if(Request.IsAuthenticated) {
    <text>Welcome <b>@Html.DisplayName()</b>!
    [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
}