ref: refs/heads/master
commit 563286fc94d485ddbbc30a3810cee20d48100480
Author: Klaus Kämpf
Date: Fri Jul 17 18:05:46 2009 +0200
Reorder flash output, most severe (:error) first
---
webclient/app/views/layouts/main.rhtml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/webclient/app/views/layouts/main.rhtml b/webclient/app/views/layouts/main.rhtml
index 6c12d60..829e3fa 100644
--- a/webclient/app/views/layouts/main.rhtml
+++ b/webclient/app/views/layouts/main.rhtml
@@ -57,11 +57,11 @@
<div id="content" class="content">
<!-- show the flash messages -->
- <% [:notice, :warning, :message, :error].each do |name| %>
+ <% [:error, :warning, :notice, :message].each do |name| %>
<% if flash[name] %>
<%= "#{flash[name]}</div>" %>
- <% end %>
<% end %>
+ <% end %>
<div id="progress" style="display:none;">
<%= image_tag("/images/working.gif") %><%=_("...Wait...")%>
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org