source:
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Shared/LogOnUserControl.ascx
@
10811
Last change on this file since 10811 was 6317, checked in by jwolfing, 14 years ago | |
---|---|
File size: 323 bytes |
Line | |
---|---|
1 | <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> |
2 | <% |
3 | if (Request.IsAuthenticated) { |
4 | %> |
5 | Welcome <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.