From 7dc399650ff9d701817c479e1b4555af8f11a926 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Sat, 22 Jan 2005 19:24:27 +0000 Subject: [PATCH] Added an informational notice (implemented as a flash) to the default layout --- app/views/layouts/default.rhtml | 4 ++++ public/stylesheets/instiki.css | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index da13eee5..cdf4c141 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -51,6 +51,10 @@

<%= @flash[:error].to_s %>


<% end %> +<% if @flash[:info] %>
+

<%= @flash[:info].to_s %>


+<% end %> + <%= render 'navigation' unless @web.nil? || @hide_navigation %> <%= @content_for_layout %> diff --git a/public/stylesheets/instiki.css b/public/stylesheets/instiki.css index 30040e49..55e3641f 100755 --- a/public/stylesheets/instiki.css +++ b/public/stylesheets/instiki.css @@ -154,6 +154,12 @@ ol.setup li { width: 450px; } +#info { + color: darkgreen; + font-style: italic; + width: 450px; +} + #TextileHelp table { margin-bottom: 0; }