Sha256: de69979134436d7240e3b3d6d8a9b13e5054d518ca60b056987d5adc304ce02d

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 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>

<%% 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>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
pelle-oauth-plugin-0.3.9 generators/oauth_consumer/templates/index.html.erb
oauth-plugin-0.3.9 generators/oauth_consumer/templates/index.html.erb