Sha256: c4294c50211a55280136e461ce26bb260c8c649941f220d0d06d6842cc630c60

Contents?: true

Size: 923 Bytes

Versions: 1

Compression:

Stored size: 923 Bytes

Contents

<div id="auth_current_services" class="auth-services">
  <% if authentications.empty? -%>
    <p><%=translate('muck.oauth.you_are_currently_not_connected_to_any_external_services') %></p>
  <% else -%>
    <p><%=translate('muck.oauth.you_are_connected_to_the_following_services') %></p>
    <ul <%='class="icon-list"' if include_icons%>>
      <% authentications.each do |authentication| -%>
        <li class="<%=token.class.service_name.to_s.parameterize%> oauth_service service-link" <%= service_icon_background(token.class.service_name) if include_icons %>>
          <%= link_to auth_service_name(authentication.provider), oauth_consumer_path(token.class.service_name), :class => 'authfancybox' %>
          <%= link_to "X", authentication, :confirm => 'Are you sure you want to remove this authentication option?', :method => :delete, :class => "remove" %>
        </li>
      <% end -%>
    </ul>
  <% end -%>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muck-auth-3.1.0 app/views/authentications/_current_services.html.erb