Files
Orchard/src/Orchard.Web/Modules/Orchard.DevTools/Views/Home/Simple.aspx
Louis DeJardin a6f56b97d5 [Themed] attribute signals the use Orchard theming w/out BaseViewModel
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
2010-03-01 18:02:48 -08:00

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>