app/views/spree/admin/authentication_methods/index.html.erb in solidus_social-1.5.0 vs app/views/spree/admin/authentication_methods/index.html.erb in solidus_social-1.6.0

- old
+ new

@@ -6,11 +6,11 @@ <% content_for :page_actions do %> <% if can? :manage, Spree::AuthenticationMethod %> <ul class="actions inline-menu"> <li> - <%= link_to I18n.t('spree.new_social_method'), new_object_url, id: 'admin_new_slide_link' %> + <%= link_to I18n.t('spree.new_social_method'), new_object_url, id: 'admin_new_slide_link', class: "btn btn-primary" %> </li> </ul> <% end %> <% end %> @@ -27,20 +27,20 @@ <thead data-hook="admin_social_methods_index_headers"> <th><%= I18n.t('spree.social_provider') %></th> <th><%= I18n.t('spree.social_api_key') %></th> <th><%= I18n.t('spree.social_api_secret') %></th> <th><%= I18n.t('spree.environment') %></th> - <th><%= I18n.t('spree.active') %></th> + <th class="align-right"><%= I18n.t('spree.active') %></th> <th data-hook="admin_social_methods_index_header_actions" class="actions"></th> </thead> <tbody> <% @authentication_methods.each do |method|%> <tr id="<%= dom_id method %>" data-hook="admin_trackers_index_rows"> - <td class="align-center"><%= method.provider %></td> - <td class="align-center"><%= truncate method.api_key, length: 10 %></td> - <td class="align-center"><%= truncate method.api_secret, length: 10 %></td> - <td class="align-center"><%= method.environment.to_s.titleize %></td> - <td class="align-center"><%= method.active ? I18n.t('spree.yes') : I18n.t('spree.no') %></td> + <td><%= method.provider %></td> + <td><%= truncate method.api_key, length: 10 %></td> + <td><%= truncate method.api_secret, length: 10 %></td> + <td><%= method.environment.to_s.titleize %></td> + <td class="align-right"><%= method.active ? I18n.t('spree.say_yes') : I18n.t('spree.say_no') %></td> <td class="actions"> <% if can? :manage, Spree::AuthenticationMethod %> <%= link_to_edit method, no_text: true %> <%= link_to_delete method, no_text: true %> <% end %>