##// END OF EJS Templates
Prevent mass-assignment when adding/updating a document (#10390)....
Prevent mass-assignment when adding/updating a document (#10390). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9130 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6565:de11d2764fd7
r9010:809d35d34bc4
Show More
index.html.erb
35 lines | 847 B | text/plain | TextLexer
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <%= render :partial => 'action_menu' %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <h2><%=l(:label_workflow)%></h2>
<% if @workflow_counts.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
Jean-Philippe Lang
Fixed: Layout problem in workflow overview (#6990)....
r4314 <div class="autoscroll">
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <table class="list">
<thead>
<tr>
<th></th>
<% @workflow_counts.first.last.each do |role, count| %>
<th>
<%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %>
</th>
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/index.rhtml....
r6561
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <% end %>
</tr>
</thead>
<tbody>
<% @workflow_counts.each do |tracker, roles| -%>
<tr class="<%= cycle('odd', 'even') %>">
<td><%= h tracker %></td>
<% roles.each do |role, count| -%>
<td align="center">
Jean-Philippe Lang
Fixed: Workflow summary shows X icon for workflow with exactly 1 status transition (#7611)....
r4770 <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 </td>
<% end -%>
</tr>
<% end -%>
</tbody>
</table>
Jean-Philippe Lang
Fixed: Layout problem in workflow overview (#6990)....
r4314 </div>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <% end %>