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

remove unnecessary turbo data attribute

ulferts054a670e71fe
diff --git a/app/components/projects/settings/life_cycles/index_component.html.erb b/app/components/projects/settings/life_cycles/index_component.html.erb
index d53638d5554..ffb3c63f334 100644
--- a/app/components/projects/settings/life_cycles/index_component.html.erb
+++ b/app/components/projects/settings/life_cycles/index_component.html.erb
@@ -39,7 +39,7 @@
font_weight: :bold,
color: :subtle,
'aria-label': t('projects.settings.actions.label_enable_all'),
- data: { 'turbo-method': :post, 'turbo': true, test_selector: "enable-all-life-cycle-steps" }
+ data: { 'turbo-method': :post, test_selector: "enable-all-life-cycle-steps" }
)) do |button|
button.with_leading_visual_icon(icon: 'check-circle', color: :subtle)
t('projects.settings.actions.label_enable_all')
@@ -53,7 +53,7 @@
font_weight: :bold,
color: :subtle,
'aria-label': t('projects.settings.actions.label_disable_all'),
- data: { 'turbo-method': :post, 'turbo': true, test_selector: "disable-all-life-cycle-steps" }
+ data: { 'turbo-method': :post, test_selector: "disable-all-life-cycle-steps" }
)) do |button|
button.with_leading_visual_icon(icon: 'x-circle', color: :subtle)
t('projects.settings.actions.label_disable_all')
diff --git a/app/views/projects/settings/life_cycles/show.html.erb b/app/views/projects/settings/life_cycles/show.html.erb
index a53367c545b..910b74c8603 100644
--- a/app/views/projects/settings/life_cycles/show.html.erb
+++ b/app/views/projects/settings/life_cycles/show.html.erb
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See COPYRIGHT and LICENSE files for more details.
++#%>
-<div data-turbo="true">
+<div>
<%= render Projects::Settings::LifeCycles::ShowPageHeaderComponent.new(project: @project) %>
<%= render(Projects::Settings::LifeCycles::IndexComponent.new( project: @project, life_cycle_definitions: @life_cycle_definitions)) %>