Sha256: 66bcdab62b57a12d4b5f385010dbb88b698593481decf68afff2b202939934a5

Contents?: true

Size: 460 Bytes

Versions: 10

Compression:

Stored size: 460 Bytes

Contents

module ActiveAdmin
  module Views
    module Pages
      #Custom footer
      #\lib\active_admin\views\pages\base.rb
      class Base < Arbre::HTML::Document
        private
        def build_footer
          div :id => "footer" do
            para "#{CONFIG[:application][:name]} #{Rails.env} #{CONFIG[:application][:version]}, <%= Time.now.year %>.".html_safe
            para style_image_tag "logo.png"
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_leonardo-0.9.0 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.8.1 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.8.0 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.7.0 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.6.1 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.6.0 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.5.3 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.5.2 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.5.1 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb
active_leonardo-0.5.0 lib/generators/leolay/templates/config/initializers/activeadmin_leonardo.rb