Sha256: df5f8b42e60860d98bbf01b1d61cd89114effb20a3202d35e8a5a2d2c9989090

Contents?: true

Size: 805 Bytes

Versions: 1

Compression:

Stored size: 805 Bytes

Contents

- if controller.respond_to?(:section_id)
  - section_id = controller.section_id
- elsif @body_id
  - section_id = @body_id
- else
  - section_id = "generic"

= content_for(:stylesheets) do
  = stylesheet "katello/katello"

= content_for(:javascripts) do
  = javascript_include_tag "katello/common/vendor"
  = javascript_include_tag "katello/common"
  = yield(:katello_javascripts)

= content_for(:inline_javascripts) do
  :plain
    KT.routes.options.prefix = "/katello";
  = render :partial => "katello/common/common_i18n"

= content_for(:title) do
  - if controller.respond_to?(:title)
    - title = controller.title
  - else
    - title = "Katello"

= content_for(:content) do
  %article#content
    %section.maincontent.container{:id => section_id}
      = yield

= render :template => 'layouts/base'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/layouts/katello.haml