summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-08 23:45:52 +0100
committerhukl <contact@smyck.org>2009-03-08 23:45:52 +0100
commite055502fe81469d1f96f41e3dbf70d2ed9ac33fe (patch)
tree184fb187cd89c27914815a1f8a93d826cc5b07c5 /app/views/layouts/application.html.erb
parent2aab7eaa19dcd2d86012f71954b8543572f8eaa5 (diff)
added basic preview feature. If a draft exists, the show action renders a proper preview. If not the default show template is rendered.
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 1446e14..e6317fd 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -12,10 +12,11 @@
12 <![endif]--> 12 <![endif]-->
13 </head> 13 </head>
14 <body> 14 <body>
15 <%= render :partial => 'nodes/preview' if params[:action] == "show" %>
15 <div id="logo"> 16 <div id="logo">
16 <a href="index.html" title="Startseite"><img src="/images/chaosknot.gif" alt="Chaosknoten" /></a> 17 <a href="index.html" title="Startseite"><img src="/images/chaosknot.gif" alt="Chaosknoten" /></a>
17 </div> 18 </div>
18 <!-- HEAD --> 19 <!-- HEAD -->
19 <div id="header"> 20 <div id="header">
20 <div id="yellow"> 21 <div id="yellow">
21 </div> 22 </div>