Sha256: 0a661adcffc3ffca3516c9c11e9652f83192397b9a06c72e6783af02711c4e15
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
<%= render 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= I18n.t('spree.social_authentication_methods') %> <% end %> <% content_for :page_actions do %> <ul class="actions inline-menu"> <li> <%= link_to I18n.t('spree.new_social_method'), new_object_url, id: 'admin_new_slide_link' %> </li> </ul> <% end %> <% if @authentication_methods.any? %> <table class="index"> <colgroup> <col style="width: 12%" /> <col style="width: 23%" /> <col style="width: 25%" /> <col style="width: 12%" /> <col style="width: 8%" /> <col style="width: 20%" /> </colgroup> <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 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 class="actions"> <%= link_to_edit method, no_text: true %> <%= link_to_delete method, no_text: true %> </td> </tr> <% end %> </tbody> </table> <% else %> <div class="alpha twelve columns no-objects-found"> <%= I18n.t('spree.no_authentication_methods_found') %>, <%= I18n.t('spree.add_one') %>! </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_social-1.3.1 | app/views/spree/admin/authentication_methods/index.html.erb |
solidus_social-1.3.0 | app/views/spree/admin/authentication_methods/index.html.erb |