vendor/plugins/refinery/app/views/shared/_message.html.erb in refinerycms-0.9.6.34 vs vendor/plugins/refinery/app/views/shared/_message.html.erb in refinerycms-0.9.7

- old
+ new

@@ -1,5 +1,10 @@ <% flash.each do |key, value| %> <div id="flash" class="flash_<%= key %>" style='display: none;' > - <%= value %> (<%= link_to "close", "", {:id => "flash_close"} %>) + <%= value %> + <% if key.to_s == "message" %> + <%= link_to t('.close_this_message'), "", {:id => "flash_close"} %> + <% else %> + <%= link_to t('.close'), "", {:id => "flash_close"} %> + <% end %> </div> <% end %>