bump cells-rails

pull/9855/head
ulferts 3 years ago committed by Oliver Günther
parent f966b45770
commit 82bc814664
  1. 2
      Gemfile
  2. 6
      Gemfile.lock
  3. 12
      modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb

@ -148,7 +148,7 @@ gem 'prawn', '~> 2.2'
gem 'prawn-markup', '~> 0.3.0'
gem 'cells-erb', '~> 0.1.0'
gem 'cells-rails', '~> 0.0.9'
gem 'cells-rails', '~> 0.1.4'
gem 'meta-tags', '~> 2.16.0'

@ -334,8 +334,8 @@ GEM
cells-erb (0.1.0)
cells (~> 4.0)
erbse (>= 0.1.1)
cells-rails (0.0.9)
actionpack (>= 3.0)
cells-rails (0.1.4)
actionpack (>= 5.0)
cells (>= 4.1.6, < 5.0.0)
childprocess (4.1.0)
claide (1.0.3)
@ -993,7 +993,7 @@ DEPENDENCIES
carrierwave (~> 1.3.1)
carrierwave_direct (~> 2.1.0)
cells-erb (~> 0.1.0)
cells-rails (~> 0.0.9)
cells-rails (~> 0.1.4)
commonmarker (~> 0.23.0)
compare-xml (~> 0.66)
costs!

@ -3,11 +3,13 @@
<section class="admin--edit-section">
<%= rails_cell ::Components::OnOffStatusCell,
is_on: default_device.present?,
on_text: t('two_factor_authentication.label_2fa_enabled'),
on_description: t('two_factor_authentication.admin.text_2fa_enabled'),
off_text: t('two_factor_authentication.label_2fa_disabled'),
off_description: t('two_factor_authentication.admin.text_2fa_disabled') %>
{
is_on: default_device.present?,
on_text: t('two_factor_authentication.label_2fa_enabled'),
on_description: t('two_factor_authentication.admin.text_2fa_enabled'),
off_text: t('two_factor_authentication.label_2fa_disabled'),
off_description: t('two_factor_authentication.admin.text_2fa_disabled')
}%>
</section>
<section class="admin--edit-section">

Loading…
Cancel
Save