<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>      
        <asp:Label ID="lab2" runat="server" Text="<%$Resources:tlumaczenia,Wyloguj%>" Visible="false"></asp:Label>
        <%string wylogujsie = lab2.Text; %>
        [ <%= Html.ActionLink(wylogujsie, "LogOff", "Account") %> ]
<%
    }
    else {
%>      <asp:Label ID="lab3" runat="server" Text="<%$Resources:tlumaczenia,Zaloguj%>" Visible="false"></asp:Label>
        <%string loginek = lab3.Text; %>
        [ <%= Html.ActionLink(loginek, "LogOn", "Account") %> ]
<%
    }
%>
