From 9f76b4d2ef9f2a621e346d10719625f8f7c24231 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 2 Jan 2007 11:15:54 +0000 Subject: [PATCH] enumerations/list redesign git-svn-id: http://redmine.rubyforge.org/svn/trunk@139 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/enumerations/list.rhtml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml index 2d5726bc..6c448fdc 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