Module: Console::ConsoleHelper
- Defined in:
- app/helpers/console/console_helper.rb
Instance Method Summary collapse
- #legal_opensource_disclaimer_url ⇒ Object
-
#logout_path ⇒ Object
FIXME: Replace with real isolation of login state.
- #openshift_url(relative = '') ⇒ Object
- #outage_notification ⇒ Object
- #product_branding ⇒ Object
- #product_title ⇒ Object
Instance Method Details
#legal_opensource_disclaimer_url ⇒ Object
7 8 9 |
# File 'app/helpers/console/console_helper.rb', line 7 def legal_opensource_disclaimer_url openshift_url 'legal/opensource_disclaimer' end |
#logout_path ⇒ Object
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_notification ⇒ Object
16 17 |
# File 'app/helpers/console/console_helper.rb', line 16 def outage_notification end |
#product_branding ⇒ Object
19 20 21 |
# File 'app/helpers/console/console_helper.rb', line 19 def product_branding content_tag(:span, "<strong>Open</strong>Shift Origin".html_safe, :class => 'brand-text headline') end |
#product_title ⇒ Object
23 24 25 |
# File 'app/helpers/console/console_helper.rb', line 23 def product_title 'OpenShift Origin' end |