app/views/libraries/index.html.erb in enju_library-0.2.0.beta.9 vs app/views/libraries/index.html.erb in enju_library-0.2.0.beta.10

- old
+ new

@@ -39,11 +39,11 @@ <%- @libraries.each_with_index do |library, i| -%> <tr class="line<%= cycle("0", "1") -%>"> <td> <%- if policy(library).update? and params[:query].blank? -%> - <%= library.first? ? image_tag('icons/stop.png', size: '16x16') : link_to(image_tag('icons/arrow_up.png', size: '16x16', alt: t('page.asc')), {action: 'update', move: 'higher', id: library.name}, method: :put) -%> - <%= library.last? ? image_tag('icons/stop.png', size: '16x16') : link_to(image_tag('icons/arrow_down.png', size: '16x16', alt: t('page.desc')), {action: 'update', move: 'lower', id: library.name}, method: :put) -%> + <%= library.first? ? image_tag('icons/stop.png', size: '16x16') : link_to(image_tag('icons/arrow_up.png', size: '16x16', class: 'enju_icon', alt: t('page.asc')), {action: 'update', move: 'higher', id: library.name}, method: :put) -%> + <%= library.last? ? image_tag('icons/stop.png', size: '16x16') : link_to(image_tag('icons/arrow_down.png', size: '16x16', class: 'enju_icon', alt: t('page.desc')), {action: 'update', move: 'lower', id: library.name}, method: :put) -%> <%- end -%> </td> <td><%= library.name -%></td> <td> <%= link_to library.display_name.localize, library -%>