Module: Console::ConsoleHelper

Defined in:
app/helpers/console/console_helper.rb

Instance Method Summary collapse

Instance Method Details



7
8
9
# File 'app/helpers/console/console_helper.rb', line 7

def legal_opensource_disclaimer_url
  openshift_url 'legal/opensource_disclaimer'
end

#logout_pathObject

FIXME: Replace with real isolation of login state



12
13
14
# File 'app/helpers/console/console_helper.rb', line 12

def logout_path
  nil
end

#openshift_url(relative = '') ⇒ Object



3
4
5
# File 'app/helpers/console/console_helper.rb', line 3

def openshift_url(relative='')
  "https://openshift.redhat.com/app/#{relative}"
end

#outage_notificationObject



16
17
# File 'app/helpers/console/console_helper.rb', line 16

def outage_notification
end

#product_brandingObject



19
20
21
# File 'app/helpers/console/console_helper.rb', line 19

def product_branding
  (:span, "<strong>Open</strong>Shift Origin".html_safe, :class => 'brand-text headline')
end

#product_titleObject



23
24
25
# File 'app/helpers/console/console_helper.rb', line 23

def product_title
  'OpenShift Origin'
end