From 9f76b4d2ef9f2a621e346d10719625f8f7c24231 2007-01-02 11:15:54 From: Jean-Philippe Lang Date: 2007-01-02 11:15:54 Subject: [PATCH] enumerations/list redesign git-svn-id: http://redmine.rubyforge.org/svn/trunk@139 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml index 2d5726b..6c448fd 100644 --- a/app/views/enumerations/list.rhtml +++ b/app/views/enumerations/list.rhtml @@ -1,21 +1,19 @@

<%=l(:label_enumerations)%>

- +  <% Enumeration::OPTIONS.each do |option, name| %> <% if params[:opt]==option %> -

<%= image_tag 'dir_open' %> <%= l(name) %>

+

<%= l(name) %>

- +

<%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option }, :class => "pic picAdd" %>

  <% else %> -

<%= image_tag 'dir' %> <%= link_to l(name), :opt => option %>

+

<%= link_to l(name), :opt => option %>

<% end %> <% end %> \ No newline at end of file