Modified:
trunk/app/views/notes/default/noteslist.rhtml
trunk/app/views/notes/default/show_enrollment.rhtml
trunk/app/views/notes/default/show_title.rhtml
Log:
008-05-19 ARAKI Yasuhiro <a...@debian.org>
* app/views/notes/default/*.rhtml: Fix to use flash[:notice].
I'm sorry,
I lacked to change them at May.16.
Modified: trunk/app/views/notes/default/noteslist.rhtml
==============================================================================
--- trunk/app/views/notes/default/noteslist.rhtml (original)
+++ trunk/app/views/notes/default/noteslist.rhtml Sun May 18 14:44:11 2008
@@ -1,6 +1,6 @@
-<% if @notice %>
+<% if flash[:notice] %>
<div class="notice">
- <%=h @notice %>
+ <%=h flash[:notice] %>
</div> <!-- end notice -->
<% end %>
Modified: trunk/app/views/notes/default/show_enrollment.rhtml
==============================================================================
--- trunk/app/views/notes/default/show_enrollment.rhtml (original)
+++ trunk/app/views/notes/default/show_enrollment.rhtml Sun May 18
14:44:11 2008
@@ -1,4 +1,4 @@
-<% if @notice %><div class="notice"> <%= @notice %></div><% end %>
+<% if flash[:notice] %><div class="notice"> <%=
flash[:notice] %></div><% end %>
<% if @ymd3 && @ymd4 %><div class="ymd34">From <%= @ymd3 %> to <%=
@ymd4 %></div><% end %>
<% article = don_get_object(@enrollment.articles.first, 'html') %>
Modified: trunk/app/views/notes/default/show_title.rhtml
==============================================================================
--- trunk/app/views/notes/default/show_title.rhtml (original)
+++ trunk/app/views/notes/default/show_title.rhtml Sun May 18 14:44:11 2008
@@ -1,4 +1,4 @@
-<% if @notice %><div class="notice"> <%= @notice %></div><% end %>
+<% if flash[:notice] %><div class="notice"> <%=
flash[:notice] %></div><% end %>
<% if @ymd3 && @ymd4 %><div class="ymd34">From <%= @ymd3 %> to <%=
@ymd4 %></div><% end %>
<p>