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
oauth-plugin-0.4.1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.1 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.rc2 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.rc2 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.rc1 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.rc1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre7 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre7 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre6 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre6 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre5 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre5 generators/oauth_consumer/templates/index.html.erb
insrc-oauth-plugin-0.4.0.pre6 generators/oauth_consumer/templates/index.html.erb
insrc-oauth-plugin-0.4.0.pre6 lib/generators/erb/oauth_consumer_templates/index.html.erb
insrc-oauth-plugin-0.4.0.pre5 generators/oauth_consumer/templates/index.html.erb
insrc-oauth-plugin-0.4.0.pre5 lib/generators/erb/oauth_consumer_templates/index.html.erb
le1t0-oauth-plugin-0.3.14.001 generators/oauth_consumer/templates/index.html.erb
le1t0-oauth-plugin-0.4.0.pre4.001 lib/generators/erb/oauth_consumer_templates/index.html.erb