Sha256: 35e0ff184f008f4c842cb6a838b5a78fd690023f36214335a1d21d2d76f85178

Contents?: true

Size: 488 Bytes

Versions: 8

Compression:

Stored size: 488 Bytes

Contents

h1 Services

-if @consumer_tokens.empty?
  p You are currently not connected to any external services.
-else
  p You are connected to the following services:
  ul
    -@consumer_tokens.each do |token|
      li = link_to token.class.service_name.to_s.humanize, oauth_consumer_path(token.class.service_name)

-unless @services.empty?
  h3 You can connect to the following services:
  ul
    -@services.each do |service|
      li = link_to service.to_s.humanize,oauth_consumer_path(service)

Version data entries

8 entries across 6 versions & 3 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/slim/oauth_consumer_templates/index.html.slim
houston-oauth-plugin-0.5.1 generators/oauth_consumer/templates/index.html.slim
oauth_consumer-0.1.3 generators/oauth_consumer/templates/index.html.slim
oauth_consumer-0.1.2 generators/oauth_consumer/templates/index.html.slim
oauth_consumer-0.1.1 generators/oauth_consumer/templates/index.html.slim
oauth_consumer-0.1.0 generators/oauth_consumer/templates/index.html.slim
oauth-plugin-0.5.1 lib/generators/slim/oauth_consumer_templates/index.html.slim
oauth-plugin-0.5.1 generators/oauth_consumer/templates/index.html.slim