Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Shared/LogOnUserControl.ascx @ 7908

Last change on this file since 7908 was 5072, checked in by dkahn, 14 years ago

#1198 Created design and modified views to create submenus

File size: 344 bytes
RevLine 
[4604]1<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
2<%
3    if (Request.IsAuthenticated) {
4%>
5        Welcome <b><%: Page.User.Identity.Name %></b>!
[5072]6        <%: Html.ActionLink("Log Off", "LogOff", "Account") %>
[4604]7<%
8    }
9    else {
10%>
[5072]11        <%: Html.ActionLink("Log On", "LogOn", "Account") %>
[4604]12<%
13    }
14%>
Note: See TracBrowser for help on using the repository browser.