Sha256: 20c901f5ad4ec2b78a66aacb54f7bff99b473145d206a8336c76772d972cad61

Contents?: true

Size: 658 Bytes

Versions: 14

Compression:

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

14 entries across 14 versions & 2 rubygems

Version Path
houston-core-0.6.3 app/views/oauth_consumers/index.html.erb
houston-core-0.6.2 app/views/oauth_consumers/index.html.erb
houston-core-0.6.1 app/views/oauth_consumers/index.html.erb
houston-core-0.6.0 app/views/oauth_consumers/index.html.erb
houston-core-0.5.6 app/views/oauth_consumers/index.html.erb
houston-core-0.5.5 app/views/oauth_consumers/index.html.erb
houston-core-0.5.4 app/views/oauth_consumers/index.html.erb
houston-core-0.5.3 app/views/oauth_consumers/index.html.erb
houston-core-0.5.2 app/views/oauth_consumers/index.html.erb
houston-core-0.5.1 app/views/oauth_consumers/index.html.erb
houston-core-0.5.0 app/views/oauth_consumers/index.html.erb
houston-core-0.5.0.beta1 app/views/oauth_consumers/index.html.erb
muck-oauth-0.1.1 app/views/oauth_consumers/index.html.erb
muck-oauth-0.1.0 app/views/oauth_consumers/index.html.erb