Module: ActiveAdmin::Globalize3::IndexTableFor

Defined in:
lib/active_admin/globalize3/index_table_for_extension.rb

Instance Method Summary collapse

Instance Method Details

#translation_statusObject



6
7
8
9
10
11
12
# File 'lib/active_admin/globalize3/index_table_for_extension.rb', line 6

def translation_status
  column I18n.t("active_admin.globalize3.translations") do |obj|
    obj.translation_names.map do |t|
      '<span class="status_tag">%s</span>' % t
    end.join(" ").html_safe
  end
end