Sha256: 342f2444fe6745f466dcfb57f26534536541f69e8a350c1f962541315af918d2

Contents?: true

Size: 627 Bytes

Versions: 8

Compression:

Stored size: 627 Bytes

Contents

<% PROVIDERS.each do |provider| %>
  <% url_params = (provider == :google_apps) ? '?domain=gmail.com' : '' %>
  <% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
  <% image_name = provider.to_s.downcase %>
  <li class="parent li_right" style="top:-4px;height:20px;">
    <a href="<%= request.script_name %><%= "/" + OmniAuth.config.path_prefix.split('/').last.to_s %><%= "/" + provider.to_s.downcase %><%= url_params %>" class="noicon">
      <%= image_tag "contour/#{image_name}_32.png", align: 'absmiddle', height: "28px", title: provider_name %>
    </a>
  </li>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
contour-0.10.2 app/views/contour/authentications/_menu.html.erb
contour-0.10.1 app/views/contour/authentications/_menu.html.erb
contour-0.10.0 app/views/contour/authentications/_menu.html.erb
contour-0.9.4 app/views/contour/authentications/_menu.html.erb
contour-0.9.3 app/views/contour/authentications/_menu.html.erb
contour-0.9.2 app/views/contour/authentications/_menu.html.erb
contour-0.9.1 app/views/contour/authentications/_menu.html.erb
contour-0.9.0 app/views/contour/authentications/_menu.html.erb