Module: Adminterface::Extensions::Views::Footer

Defined in:
lib/adminterface/extensions/views/footer.rb

Instance Method Summary collapse

Instance Method Details

#default_class_nameObject



5
6
7
# File 'lib/adminterface/extensions/views/footer.rb', line 5

def default_class_name
  "#{super} #{footer_css_classes[:wrapper]}".squish
end

#para(message) ⇒ Object



9
10
11
# File 'lib/adminterface/extensions/views/footer.rb', line 9

def para(message)
  super(message, class: footer_css_classes[:body])
end

#powered_by_messageObject



13
14
15
16
17
# File 'lib/adminterface/extensions/views/footer.rb', line 13

def powered_by_message
  I18n.t("active_admin.powered_by",
    active_admin: link_to("Adminterface", "https://github.com/CMDBrew/adminterface", target: "_blank", rel: "noopener"),
    version: Adminterface::VERSION).html_safe
end