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
le1t0-oauth-plugin-0.4.0.pre4.001 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre4 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre4 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre3 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre3 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre2 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.4.0.pre2 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre1 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.4.0.pre1 lib/generators/erb/oauth_consumer_templates/index.html.erb
oauth-plugin-0.3.14 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.3.13 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.3.12 generators/oauth_consumer/templates/index.html.erb
filiptepper-oauth-plugin-0.3.12 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.3.11 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.3.10 generators/oauth_consumer/templates/index.html.erb