Sha256: f69a1aa3f3ee00ea923cf3a4127926cf7bb407965600cb3e0eab5146db80625b

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

<div id="auth_current_services" class="auth-services">
  <% if authentications.empty? -%>
    <p><%=translate('muck.auth.you_are_currently_not_connected_to_any_external_services') %></p>
  <% else -%>
    <p><%=translate('muck.auth.you_are_connected_to_the_following_services') %></p>
    <ul class="icon-list">
      <% authentications.each do |auth| -%>
        <li id="<%=auth.dom_id%>" class="<%=auth_css_class(auth.provider)%> oauth_service service-link" <%= auth_icon_back(auth.provider, include_icons).html_safe %>>
          <p><%= auth_name(auth.provider) %></p>
          <%= render(:partial => 'shared/delete', :locals => { :delete_object => auth, 
                                                           :button_type => :image,
                                                           :button_text => "(disconnect)",
                                                           :form_class => 'disconnect-service',
                                                           :delete_path => authentication_path(auth, :format => 'js') }).html_safe %>
        </li>
      <% end -%>
    </ul>
  <% end -%>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
muck-auth-3.5.4 app/views/authentications/_current_services.html.erb
muck-auth-3.5.3 app/views/authentications/_current_services.html.erb
muck-auth-3.5.2 app/views/authentications/_current_services.html.erb
muck-auth-3.5.1 app/views/authentications/_current_services.html.erb
muck-auth-3.5.0 app/views/authentications/_current_services.html.erb
muck-auth-3.4.0 app/views/authentications/_current_services.html.erb
muck-auth-3.3.3 app/views/authentications/_current_services.html.erb
muck-auth-3.3.2 app/views/authentications/_current_services.html.erb
muck-auth-3.3.1 app/views/authentications/_current_services.html.erb