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