mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 12:09:41 +08:00

ThemeFilter detects attribute at action time or TModel at result time LayoutViewEngine uses ThemeFilter.IsApplied the same way AdminFilter.IsApplied is used Themed(false) at an action will override [Themed(true)] or [Themed] at a controller level --HG-- branch : dev
13 lines
374 B
Plaintext
13 lines
374 B
Plaintext
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<Simple>" %>
|
|
|
|
<%@ Import Namespace="Orchard.DevTools.Models" %>
|
|
<h1>
|
|
<%= H(Model.Title) %></h1>
|
|
<p>
|
|
Quantity:
|
|
<%= Model.Quantity %></p>
|
|
<div style="border: solid 1px #ccc;">
|
|
<% Html.RenderAction("_RenderableAction"); %></div>
|
|
<p>
|
|
<%=Html.ActionLink("Test Messages", "SimpleMessage")%></p>
|