Added an informational notice (implemented as a flash) to the default layout

This commit is contained in:
Alexey Verkhovsky 2005-01-22 19:24:27 +00:00
parent aec9449771
commit 7dc399650f
2 changed files with 10 additions and 0 deletions

View file

@ -51,6 +51,10 @@
<hr/><p><%= @flash[:error].to_s %></p><hr/></div>
<% end %>
<% if @flash[:info] %> <div id="info">
<hr/><p><%= @flash[:info].to_s %></p><hr/></div>
<% end %>
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
<%= @content_for_layout %>

View file

@ -154,6 +154,12 @@ ol.setup li {
width: 450px;
}
#info {
color: darkgreen;
font-style: italic;
width: 450px;
}
#TextileHelp table {
margin-bottom: 0;
}