Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

bump cells-rails

ulferts82bc81466481
diff --git a/Gemfile b/Gemfile
index 757351e7b9f..a5796875222 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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'
diff --git a/Gemfile.lock b/Gemfile.lock
index 87e26b1c073..e84e51c7137 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -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!
diff --git a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb
index 702f06e197a..c2eb727661a 100644
--- a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb
+++ b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb
@@ -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">