multiauth 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/multiauth/_box.html.erb +1 -1
- data/app/views/multiauth/_menu.html.erb +2 -2
- data/lib/multiauth/views_helper.rb +1 -1
- data/multiauth.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<% providers.each_slice(3) do |column| %>
|
15
15
|
<div class="column">
|
16
16
|
<% column.each do |provider, config| %>
|
17
|
-
<a id="btn_<%= count+=1 %>" class="<%= provider %> openid_btn <%= config["class"] %>" title="<%= provider %>" href="/auth/<%= config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.
|
17
|
+
<a id="btn_<%= count+=1 %>" class="<%= provider %> openid_btn <%= config["class"] %>" title="<%= provider %>" href="/auth/<%= config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.underscore}" %>"></a>
|
18
18
|
<% end %>
|
19
19
|
</div>
|
20
20
|
<% end %>
|
@@ -8,10 +8,10 @@
|
|
8
8
|
<div class="rows">
|
9
9
|
<% providers.each do |provider, config| %>
|
10
10
|
<div class="item" style="float: left; width: 19.5%;">
|
11
|
-
<a id="btn_<%= count+=1 %>" class="<%= provider %> openid_btn <%= config["class"] %>" title="<%= provider %>" href="/auth/<%= config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.
|
11
|
+
<a id="btn_<%= count+=1 %>" class="<%= provider %> openid_btn <%= config["class"] %>" title="<%= provider %>" href="/auth/<%= config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.underscore}" %>"></a>
|
12
12
|
</div>
|
13
13
|
<% end %>
|
14
14
|
</div>
|
15
15
|
<% end %>
|
16
16
|
</div>
|
17
|
-
</div>
|
17
|
+
</div>
|
@@ -21,7 +21,7 @@ module Multiauth
|
|
21
21
|
config = multiauth_providers[provider]
|
22
22
|
css_class ||= "#{provider} openid_btn #{config["class"]}"
|
23
23
|
|
24
|
-
%@<a class="#{css_class}" title="#{provider}" href="/auth/#{config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.
|
24
|
+
%@<a class="#{css_class}" title="#{provider}" href="/auth/#{config["openid"] ? "open_id?openid_url=#{config["openid"]}" : "#{provider.underscore}"}">#{text}</a>@
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
data/multiauth.gemspec
CHANGED