Sha256: 465323ee955c594295c02e4ae326a63c526b5a7031f4308dddf709b8decc5f2c

Contents?: true

Size: 669 Bytes

Versions: 55

Compression:

Stored size: 669 Bytes

Contents

<h1>Services</h1>

<%% if @consumer_tokens.empty? %>
  <p>
    You are currently not connected to any external services.
  </p>
<%% else %>
  <p>
    You are connected to the following services:
  </p>
  <ul>
    <%% @consumer_tokens.each do |token| %>
      <li>
        <%%= link_to token.class.service_name.to_s.humanize, oauth_consumer_path(token.class.service_name) %>
      </li>
    <%% end %>
  </ul>
<%% end %>

<%% unless @services.empty? %>
<h3>You can connect to the following services:</h3>
<ul>
  <%% @services.each do |service| %>
    <li>
      <%%= link_to service.to_s.humanize, oauth_consumer_path(service) %>
    </li>
  <%% end %>
</ul>
<%% end %>

Version data entries

55 entries across 33 versions & 9 rubygems

Version Path
houston-oauth-plugin-0.5.1 generators/oauth_consumer/templates/index.html.erb
houston-oauth-plugin-0.5.1 lib/generators/erb/oauth_consumer_templates/index.html.erb
filiptepper-oauth-plugin-0.3.11 generators/oauth_consumer/templates/index.html.erb
pelle-oauth-plugin-0.3.10 generators/oauth_consumer/templates/index.html.erb
pelle-oauth-plugin-0.3.11 generators/oauth_consumer/templates/index.html.erb
oauth_consumer-0.1.3 generators/oauth_consumer/templates/index.html.erb
oauth_consumer-0.1.3 lib/generators/erb/oauth_consumer_templates/index.html.erb
panjiva-oauth-plugin-0.4.1 generators/oauth_consumer/templates/index.html.erb
panjiva-oauth-plugin-0.4.1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth_consumer-0.1.2 generators/oauth_consumer/templates/index.html.erb
oauth_consumer-0.1.2 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth_consumer-0.1.1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth_consumer-0.1.1 generators/oauth_consumer/templates/index.html.erb
oauth_consumer-0.1.0 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth_consumer-0.1.0 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.5.1 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.5.1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.5.0 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.5.0 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-provider-0.5.0rc1 generators/oauth_consumer/templates/index.html.erb