app/views/usman/roles/_row.html.erb in usman-0.3.33 vs app/views/usman/roles/_row.html.erb in usman-0.3.34
- old
+ new
@@ -1,11 +1,11 @@
<% edit_link = edit_role_path(id: role.id) %>
<% delete_link = role_path(id: role.id) %>
<tr id="tr_role_<%= role.id %>">
-
- <th scope="row" style="text-align: center;">
+
+ <th scope="row" style="" class="hidden-sm hidden-xs">
<% if i < 0 %>
<i class="fa fa-check text-success"></i>
<% else %>
<%= i + 1 + (@per_page.to_i * (@current_page.to_i - 1)) %>
<% end %>
@@ -13,12 +13,12 @@
<td class="role-name"><%= link_to role.name, role_path(role), remote: true %></td>
<% if display_manage_links? %>
- <td class="action-links" style="width:10%">
+ <td class="action-links hidden-xs hidden-sm" style="width:10%">
<%= link_to raw("<i class=\"linecons-pencil\"></i> Edit Role"), edit_link, :remote=>true, class: "edit" if role.can_be_edited? and display_edit_links? %>
-
+
<%= link_to raw("<i class=\"linecons-trash\"></i> Delete"), delete_link, method: :delete, role: "menuitem", tabindex: "-1", data: { confirm: 'Are you sure?' }, :remote=>true, class: "delete" if role.can_be_deleted? and display_delete_links? %>
</td>
<% end %>
\ No newline at end of file