##// END OF EJS Templates
Subproject name displayed on issue list, calendar and gantt (only for issues that belong to a subproject)....
Subproject name displayed on issue list, calendar and gantt (only for issues that belong to a subproject). git-svn-id: http://redmine.rubyforge.org/svn/trunk@484 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r330:027bf93849e8
r481:c1a18a28898f
Show More
list.rhtml
18 lines | 554 B | text/html+ruby | RhtmlLexer
<h2><%=l(:label_enumerations)%></h2>
&nbsp;
<% Enumeration::OPTIONS.each do |option, name| %>
<% if params[:opt]==option %>
<h3><%= l(name) %></h3>
<ul>
<% for value in Enumeration.find(:all, :conditions => ["opt = ?", option]) %>
<li><%= link_to value.name, :action => 'edit', :id => value %></li>
<% end %>
</ul>
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option }, :class => "icon icon-add" %></p>&nbsp;
<% else %>
<h3><%= link_to l(name), :opt => option %></h3>
<% end %>
<% end %>