##// END OF EJS Templates
fixed in svn browser: revisions were ignored when no author was found...
fixed in svn browser: revisions were ignored when no author was found git-svn-id: http://redmine.rubyforge.org/svn/trunk@109 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r65:96f83cc8f0f0
r106:ad02b3fb7bf9
Show More
list.rhtml
20 lines | 613 B | text/html+ruby | RhtmlLexer
<h2><%=l(:label_enumerations)%></h2>
<% Enumeration::OPTIONS.each do |option, name| %>
<% if @params[:opt]==option %>
<p><%= image_tag 'dir_open' %> <b><%= l(name) %></b></p>
<ul>
<% for value in Enumeration.find(:all, :conditions => ["opt = ?", option]) %>
<li><%= link_to value.name, :action => 'edit', :id => value %></li>
<% end %>
</ul>
<ul>
<li><%= link_to ('&#187; ' + l(:label_new)), :action => 'new', :opt => option %></li>
</ul>
<% else %>
<p><%= image_tag 'dir' %> <%= link_to l(name), :opt => option %></p>
<% end %>
<% end %>