diff app/views/workflows/index.rhtml @ 514:7eba09d624db live

Merge
author Chris Cannam
date Thu, 14 Jul 2011 10:50:53 +0100
parents 051f544170fe
children
line wrap: on
line diff
--- a/app/views/workflows/index.rhtml	Thu Jul 14 10:46:20 2011 +0100
+++ b/app/views/workflows/index.rhtml	Thu Jul 14 10:50:53 2011 +0100
@@ -5,6 +5,7 @@
 <% if @workflow_counts.empty? %>
 <p class="nodata"><%= l(:label_no_data) %></p>
 <% else %>
+<div class="autoscroll">
 <table class="list">
 <thead>
     <tr>
@@ -23,11 +24,12 @@
   <td><%= h tracker %></td>
   <% roles.each do |role, count| -%>
     <td align="center">
-      <%= link_to((count > 1 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
+      <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
     </td>
   <% end -%>
 </tr>
 <% end -%>
 </tbody>
 </table>
+</div>
 <% end %>