Sha256: 66d8ecfa3038209e387737d086fc18fdd275382eda34303a35edd36e78cd1f07
Contents?: true
Size: 1.93 KB
Versions: 2
Compression:
Stored size: 1.93 KB
Contents
<%= render 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:social_authentication_methods) %> <% end %> <% content_for :page_actions do %> <ul class="actions inline-menu"> <li> <%= button_link_to Spree.t(:new_social_method), new_object_url, icon: 'icon-plus', 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><%= Spree.t(:social_provider) %></th> <th><%= Spree.t(:social_api_key) %></th> <th><%= Spree.t(:social_api_secret) %></th> <th><%= Spree.t(:environment) %></th> <th><%= Spree.t(: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: 20 %></td> <td class="align-center"><%= truncate method.api_secret, length: 20 %></td> <td class="align-center"><%= method.environment.to_s.titleize %></td> <td class="align-center"><%= method.active ? Spree.t(:yes) : Spree.t(: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"> <%= Spree.t(:no_authentication_methods_found) %>, <%= Spree.t(:add_one) %>! </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_social-1.1.0 | app/views/spree/admin/authentication_methods/index.html.erb |
solidus_social-1.0.0 | app/views/spree/admin/authentication_methods/index.html.erb |