Mercurial > hg > soundsoftware-site
view .svn/pristine/61/61f7f063ffaec55dad0c8a315b8506b208b3d80d.svn-base @ 985:acaa61dde68b bug_522
Allow file attachment to wrap to avoid extra-wide text field
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 26 Oct 2012 17:18:52 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
<%= render :partial => 'action_menu' %> <h2><%=l(:label_workflow)%></h2> <% if @workflow_counts.empty? %> <p class="nodata"><%= l(:label_no_data) %></p> <% else %> <div class="autoscroll"> <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> <% 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"> <%= 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 %>