mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
- <%: %> continued.
--HG-- branch : dev
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
||||||
<div id="logindisplay">
|
<div id="logindisplay">
|
||||||
<% if (Request.IsAuthenticated) { %>
|
<% if (Request.IsAuthenticated) { %>
|
||||||
<%: T("Welcome, <strong>{0}</strong>!", Page.User.Identity.Name) %>
|
<%= T("Welcome, <strong>{0}</strong>!", Page.User.Identity.Name) %>
|
||||||
<%: Html.ActionLink(T("Log Off").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl })%>
|
<%: Html.ActionLink(T("Log Off").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl })%>
|
||||||
| <%: Html.ActionLink("Admin", "Index", new {Area = "Dashboard", Controller = "Admin"})%>
|
| <%: Html.ActionLink("Admin", "Index", new {Area = "Dashboard", Controller = "Admin"})%>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
|
|||||||
Reference in New Issue
Block a user