Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Shared/LogOnUserControl.ascx @ 11291

Last change on this file since 11291 was 6317, checked in by jwolfing, 14 years ago

#1433 code formatted

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