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

erb_lint auto fix quoted symbol

Ivan Kuchinfba9d4b5066b
diff --git a/app/components/admin/custom_fields/custom_field_projects/new_custom_field_projects_form_modal_component.html.erb b/app/components/admin/custom_fields/custom_field_projects/new_custom_field_projects_form_modal_component.html.erb
index d3be0b0f87b..f23190f45cd 100644
--- a/app/components/admin/custom_fields/custom_field_projects/new_custom_field_projects_form_modal_component.html.erb
+++ b/app/components/admin/custom_fields/custom_field_projects/new_custom_field_projects_form_modal_component.html.erb
@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.
concat(
render(Primer::Alpha::Dialog::Footer.new(show_divider: false)) do
- concat(render(Primer::ButtonComponent.new(data: { 'close-dialog-id': dialog_id })) { cancel_button_text })
+ concat(render(Primer::ButtonComponent.new(data: { "close-dialog-id": dialog_id })) { cancel_button_text })
concat(render(Primer::ButtonComponent.new(scheme: :primary, type: :submit)) { submit_button_text })
end
)
diff --git a/app/components/enterprise_edition/banner_component.html.erb b/app/components/enterprise_edition/banner_component.html.erb
index 2930a0c5e8d..06e5ae5862c 100644
--- a/app/components/enterprise_edition/banner_component.html.erb
+++ b/app/components/enterprise_edition/banner_component.html.erb
@@ -1,6 +1,6 @@
<%=
grid_layout("op-ee-banner", **@system_arguments) do |grid|
- grid.with_area(:'icon-container') do
+ grid.with_area(:"icon-container") do
content_tag :div, class: "op-ee-banner--shield" do
render(
Primer::Beta::Octicon.new(
@@ -11,9 +11,9 @@
)
end
end
- grid.with_area(:'title-container') { render(Primer::Beta::Text.new) { title } }
- grid.with_area(:'description-container') { render(Primer::Beta::Text.new) { description } }
- grid.with_area(:'link-container') do
+ grid.with_area(:"title-container") { render(Primer::Beta::Text.new) { title } }
+ grid.with_area(:"description-container") { render(Primer::Beta::Text.new) { description } }
+ grid.with_area(:"link-container") do
render(Primer::Beta::Link.new(href: href)) do |link|
link.with_trailing_visual_icon(icon: "link-external")
link_title
diff --git a/app/components/individual_principal_base_filter_component.html.erb b/app/components/individual_principal_base_filter_component.html.erb
index 070fc1916a4..ac5593753ed 100644
--- a/app/components/individual_principal_base_filter_component.html.erb
+++ b/app/components/individual_principal_base_filter_component.html.erb
@@ -44,7 +44,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= select_tag "status",
user_status_options,
class: "simple-filters--filter-value",
- 'data-members-form-target': "statusSelect" %>
+ "data-members-form-target": "statusSelect" %>
</li>
<% end %>
<% if has_groups? %>
diff --git a/app/components/my/access_token/new_access_token_form_component.html.erb b/app/components/my/access_token/new_access_token_form_component.html.erb
index c5c6ea5d84d..2079647d98d 100644
--- a/app/components/my/access_token/new_access_token_form_component.html.erb
+++ b/app/components/my/access_token/new_access_token_form_component.html.erb
@@ -62,7 +62,7 @@ See COPYRIGHT and LICENSE files for more details.
collection.with_component(Primer::Alpha::Dialog::Footer.new) do
component_collection do |footer|
- footer.with_component(Primer::ButtonComponent.new(data: { 'close-dialog-id': "new-access-token-dialog" })) do
+ footer.with_component(Primer::ButtonComponent.new(data: { "close-dialog-id": "new-access-token-dialog" })) do
I18n.t("button_cancel")
end
diff --git a/app/components/notifications/index_sub_header_component.html.erb b/app/components/notifications/index_sub_header_component.html.erb
index a8aaf99094e..819b58d1ae8 100644
--- a/app/components/notifications/index_sub_header_component.html.erb
+++ b/app/components/notifications/index_sub_header_component.html.erb
@@ -25,7 +25,7 @@
size: :medium,
aria: { label: I18n.t("js.notifications.center.mark_all_read") }
) do |button|
- button.with_leading_visual_icon(icon: :'op-read-all')
+ button.with_leading_visual_icon(icon: :"op-read-all")
I18n.t("js.notifications.center.mark_all_read")
end
end %>
diff --git a/app/components/oauth/applications/application_row_component.html.erb b/app/components/oauth/applications/application_row_component.html.erb
index 318785556bd..88ac447a404 100644
--- a/app/components/oauth/applications/application_row_component.html.erb
+++ b/app/components/oauth/applications/application_row_component.html.erb
@@ -1,5 +1,5 @@
<%=
- component_wrapper(data: { 'test-selector': "op-admin-oauth--application" }) do
+ component_wrapper(data: { "test-selector": "op-admin-oauth--application" }) do
flex_layout(align_items: :center, justify_content: :space_between) do |oauth_application_container|
oauth_application_container.with_column(flex_layout: true) do |application_information|
application_information.with_column(mr: 2) do
@@ -35,7 +35,7 @@
csrf_token: form_authenticity_token,
checked: @application.enabled?,
data: {
- 'test-selector': "op-admin-oauth--application-enabled-toggle-switch"
+ "test-selector": "op-admin-oauth--application-enabled-toggle-switch"
}
)
)
diff --git a/app/components/oauth/applications/index_component.html.erb b/app/components/oauth/applications/index_component.html.erb
index 7e552d021cb..d35ea1d5341 100644
--- a/app/components/oauth/applications/index_component.html.erb
+++ b/app/components/oauth/applications/index_component.html.erb
@@ -6,7 +6,7 @@
render(
border_box_container(
mb: 4, data: {
- 'test-selector': "op-admin-oauth--built-in-applications"
+ "test-selector": "op-admin-oauth--built-in-applications"
}
)
) do |component|
@@ -21,7 +21,7 @@
render(
Primer::Beta::Text.new(
data: {
- 'test-selector': "op-admin-oauth--built-in-applications-placeholder"
+ "test-selector": "op-admin-oauth--built-in-applications-placeholder"
}
)
) do
@@ -47,7 +47,7 @@
if @other_applications.empty?
component.with_row do
- render(Primer::Beta::Text.new(data: { 'test-selector': "op-admin-oauth--applications-placeholder" })) do
+ render(Primer::Beta::Text.new(data: { "test-selector": "op-admin-oauth--applications-placeholder" })) do
t("oauth.empty_application_lists")
end
end
diff --git a/app/components/open_project/common/attribute_component.html.erb b/app/components/open_project/common/attribute_component.html.erb
index 6c49452377a..aef0c6f28cf 100644
--- a/app/components/open_project/common/attribute_component.html.erb
+++ b/app/components/open_project/common/attribute_component.html.erb
@@ -11,7 +11,7 @@
color: text_color,
style: "max-height: #{max_height};",
data: {
- 'attribute-target': "descriptionText"
+ "attribute-target": "descriptionText"
}
)
) { short_text } %>
@@ -21,7 +21,7 @@
tag: :div,
display: display_expand_button_value,
classes: "op-long-text-attribute--text-hider",
- data: { 'attribute-target': "textHider" }
+ data: { "attribute-target": "textHider" }
)
) %>
@@ -31,10 +31,10 @@
"aria-label": I18n.t("label_attribute_expand_text", attribute: name),
display: display_expand_button_value,
data: {
- 'attribute-target': "expandButton",
- 'test-selector': "expand-button"
+ "attribute-target": "expandButton",
+ "test-selector": "expand-button"
},
- button_arguments: { 'data-show-dialog-id': id },
+ button_arguments: { "data-show-dialog-id": id },
classes: "op-long-text-attribute--text-expander"
)
) %>
@@ -43,7 +43,7 @@
Primer::Alpha::Dialog.new(
id: id,
data: {
- 'test-selector': "attribute-dialog"
+ "test-selector": "attribute-dialog"
},
title: name,
size: :large
diff --git a/app/components/projects/configure_view_modal_component.html.erb b/app/components/projects/configure_view_modal_component.html.erb
index 38dc3d32a5d..05c7ac98765 100644
--- a/app/components/projects/configure_view_modal_component.html.erb
+++ b/app/components/projects/configure_view_modal_component.html.erb
@@ -1,6 +1,6 @@
<%= render(
Primer::Alpha::Dialog.new(
- title: t(:'queries.configure_view.heading'),
+ title: t(:"queries.configure_view.heading"),
size: :large,
id: MODAL_ID,
# Hack to give the draggable autcompleter (ng-select) bound to the dialog
@@ -33,9 +33,9 @@
id: COLUMN_HTML_ID,
dragAreaName: "#{COLUMN_HTML_ID}_dragarea",
formControlId: "#{COLUMN_HTML_ID}_autocompleter",
- inputLabel: I18n.t(:'queries.configure_view.columns.input_label'),
- inputPlaceholder: I18n.t(:'queries.configure_view.columns.input_placeholder'),
- dragAreaLabel: I18n.t(:'queries.configure_view.columns.drag_area_label'),
+ inputLabel: I18n.t(:"queries.configure_view.columns.input_label"),
+ inputPlaceholder: I18n.t(:"queries.configure_view.columns.input_placeholder"),
+ dragAreaLabel: I18n.t(:"queries.configure_view.columns.drag_area_label"),
appendToComponent: true
} %>
<% end %>
diff --git a/app/components/projects/delete_list_modal_component.html.erb b/app/components/projects/delete_list_modal_component.html.erb
index 86cea6a7ef8..3b6283b2112 100644
--- a/app/components/projects/delete_list_modal_component.html.erb
+++ b/app/components/projects/delete_list_modal_component.html.erb
@@ -1,13 +1,13 @@
<%= render(
Primer::Alpha::Dialog.new(
- title: t(:'projects.lists.delete_modal.title'),
+ title: t(:"projects.lists.delete_modal.title"),
size: :large,
id: MODAL_ID,
- data: { 'test-selector': MODAL_ID }
+ data: { "test-selector": MODAL_ID }
)
) do |d| %>
<% d.with_header(variant: :large) %>
- <% d.with_body { t(:'projects.lists.delete_modal.text') } %>
+ <% d.with_body { t(:"projects.lists.delete_modal.text") } %>
<% d.with_footer do %>
<%= render(Primer::Beta::Button.new(data: { "close-dialog-id": MODAL_ID })) { I18n.t(:button_cancel) } %>
<%= form_with(
diff --git a/app/components/projects/index_page_header_component.html.erb b/app/components/projects/index_page_header_component.html.erb
index 755a4ed2de0..dd7c48bdfa5 100644
--- a/app/components/projects/index_page_header_component.html.erb
+++ b/app/components/projects/index_page_header_component.html.erb
@@ -1,7 +1,7 @@
<%= component_wrapper(tag: "turbo-frame") do %>
<%=
render(Primer::OpenProject::PageHeader.new(state: @state)) do |header|
- header.with_title(data: { 'test-selector': "project-query-name" }) do |title|
+ header.with_title(data: { "test-selector": "project-query-name" }) do |title|
title.with_editable_form(
model: query,
update_path: @query.new_record? ? project_queries_path(projects_query_params) : project_query_path(@query, projects_query_params),
@@ -136,7 +136,7 @@
menu.with_item(
tag: :a,
- label: t(:'queries.configure_view.heading'),
+ label: t(:"queries.configure_view.heading"),
href: configure_view_modal_project_queries_path(projects_query_params),
content_arguments: { data: { controller: "async-dialog" } }
) do |item|
diff --git a/app/components/projects/index_sub_header_component.html.erb b/app/components/projects/index_sub_header_component.html.erb
index 949586caf4b..5e9557710bc 100644
--- a/app/components/projects/index_sub_header_component.html.erb
+++ b/app/components/projects/index_sub_header_component.html.erb
@@ -25,7 +25,7 @@
disabled: @disable_buttons,
size: :medium,
aria: { label: I18n.t(:label_project_new) },
- data: { 'test-selector': "project-new-button" }
+ data: { "test-selector": "project-new-button" }
) do |button|
button.with_leading_visual_icon(icon: :plus)
Project.model_name.human
diff --git a/app/components/projects/settings/life_cycle_steps/index_component.html.erb b/app/components/projects/settings/life_cycle_steps/index_component.html.erb
index d627d034020..c77a5ff3268 100644
--- a/app/components/projects/settings/life_cycle_steps/index_component.html.erb
+++ b/app/components/projects/settings/life_cycle_steps/index_component.html.erb
@@ -33,7 +33,7 @@
end
end
header_container.with_column(flex_layout: true, justify_content: :flex_end) do |actions_container|
- actions_container.with_column(data: { 'projects--settings--border-box-filter-target': "hideWhenFiltering" }) do
+ actions_container.with_column(data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }) do
render(
Primer::Beta::Button.new(
tag: :a,
@@ -41,15 +41,15 @@
scheme: :invisible,
font_weight: :bold,
color: :subtle,
- 'aria-label': t("projects.settings.actions.label_enable_all"),
- data: { 'turbo-method': :post, test_selector: "enable-all-life-cycle-steps" }
+ "aria-label": t("projects.settings.actions.label_enable_all"),
+ 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")
end
end
- actions_container.with_column(data: { 'projects--settings--border-box-filter-target': "hideWhenFiltering" }) do
+ actions_container.with_column(data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }) do
render(
Primer::Beta::Button.new(
tag: :a,
@@ -57,8 +57,8 @@
scheme: :invisible,
font_weight: :bold,
color: :subtle,
- 'aria-label': t("projects.settings.actions.label_disable_all"),
- data: { 'turbo-method': :post, test_selector: "disable-all-life-cycle-steps" }
+ "aria-label": t("projects.settings.actions.label_disable_all"),
+ data: { "turbo-method": :post, test_selector: "disable-all-life-cycle-steps" }
)
) do |button|
button.with_leading_visual_icon(icon: "x-circle", color: :subtle)
@@ -75,7 +75,7 @@
else
life_cycle_definitions_and_step_active.each do |definition, active|
component.with_row(
- data: { 'projects--settings--border-box-filter-target': "searchItem" },
+ data: { "projects--settings--border-box-filter-target": "searchItem" },
test_selector: "project-life-cycle-step-#{definition.id}"
) do
render(Projects::Settings::LifeCycleSteps::StepComponent.new(definition:, active?: active))
diff --git a/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb
index c518982572b..2bf3fb6d4d8 100644
--- a/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb
+++ b/app/components/projects/settings/project_custom_field_sections/custom_field_row_component.html.erb
@@ -39,7 +39,7 @@
}
),
csrf_token: form_authenticity_token,
- data: { 'turbo-method': :put, 'turbo-stream': true,
+ data: { "turbo-method": :put, "turbo-stream": true,
test_selector: "toggle-project-custom-field-mapping-#{@project_custom_field.id}" },
checked: active_in_project?,
enabled: !@project_custom_field.required?, # required fields cannot be disabled
diff --git a/app/components/projects/settings/project_custom_field_sections/show_component.html.erb b/app/components/projects/settings/project_custom_field_sections/show_component.html.erb
index 953dfbddecd..2d3231b42bf 100644
--- a/app/components/projects/settings/project_custom_field_sections/show_component.html.erb
+++ b/app/components/projects/settings/project_custom_field_sections/show_component.html.erb
@@ -17,7 +17,7 @@
end
end
section_header_container.with_column(flex_layout: true, justify_content: :flex_end) do |actions_container|
- actions_container.with_column(data: { 'projects--settings--border-box-filter-target': "hideWhenFiltering" }) do
+ actions_container.with_column(data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }) do
render(
Primer::Beta::Button.new(
tag: :a,
@@ -30,15 +30,15 @@
scheme: :invisible,
font_weight: :bold,
color: :subtle,
- 'aria-label': t("projects.settings.actions.label_enable_all"),
- data: { 'turbo-method': :put, 'turbo-stream': true, test_selector: "enable-all-project-custom-field-mappings-#{@project_custom_field_section.id}" }
+ "aria-label": t("projects.settings.actions.label_enable_all"),
+ data: { "turbo-method": :put, "turbo-stream": true, test_selector: "enable-all-project-custom-field-mappings-#{@project_custom_field_section.id}" }
)
) do |button|
button.with_leading_visual_icon(icon: "check-circle", color: :subtle)
t("projects.settings.actions.label_enable_all")
end
end
- actions_container.with_column(data: { 'projects--settings--border-box-filter-target': "hideWhenFiltering" }) do
+ actions_container.with_column(data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }) do
render(
Primer::Beta::Button.new(
tag: :a,
@@ -51,8 +51,8 @@
scheme: :invisible,
font_weight: :bold,
color: :subtle,
- 'aria-label': t("projects.settings.actions.label_disable_all"),
- data: { 'turbo-method': :put, 'turbo-stream': true, test_selector: "disable-all-project-custom-field-mappings-#{@project_custom_field_section.id}" }
+ "aria-label": t("projects.settings.actions.label_disable_all"),
+ data: { "turbo-method": :put, "turbo-stream": true, test_selector: "disable-all-project-custom-field-mappings-#{@project_custom_field_section.id}" }
)
) do |button|
button.with_leading_visual_icon(icon: "x-circle", color: :subtle)
@@ -68,7 +68,7 @@
end
else
@project_custom_fields.each do |project_custom_field|
- component.with_row(data: { 'projects--settings--border-box-filter-target': "searchItem" }) do
+ component.with_row(data: { "projects--settings--border-box-filter-target": "searchItem" }) do
render(
Projects::Settings::ProjectCustomFieldSections::CustomFieldRowComponent.new(
project: @project,
diff --git a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
index 7df2939a3c2..37916605dc1 100644
--- a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
@@ -40,7 +40,7 @@
end
main_container.with_column do
render(Primer::Alpha::ActionMenu.new(data: { test_selector: "project-custom-field-action-menu" })) do |menu|
- menu.with_show_button(icon: "kebab-horizontal", 'aria-label': t("settings.project_attributes.label_project_custom_field_actions"), scheme: :invisible)
+ menu.with_show_button(icon: "kebab-horizontal", "aria-label": t("settings.project_attributes.label_project_custom_field_actions"), scheme: :invisible)
edit_action_item(menu)
move_actions(menu)
delete_action_item(menu)
diff --git a/app/components/settings/project_custom_field_sections/dialog_body_form_component.html.erb b/app/components/settings/project_custom_field_sections/dialog_body_form_component.html.erb
index f6f9ed27f75..084fbf2ddff 100644
--- a/app/components/settings/project_custom_field_sections/dialog_body_form_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/dialog_body_form_component.html.erb
@@ -12,7 +12,7 @@
collection.with_component(Primer::Alpha::Dialog::Footer.new) do
component_collection do |modal_footer|
- modal_footer.with_component(Primer::ButtonComponent.new(data: { 'close-dialog-id': "project-custom-field-section-dialog#{@project_custom_field_section.id}" })) do
+ modal_footer.with_component(Primer::ButtonComponent.new(data: { "close-dialog-id": "project-custom-field-section-dialog#{@project_custom_field_section.id}" })) do
t("button_cancel")
end
diff --git a/app/components/settings/project_custom_field_sections/index_component.html.erb b/app/components/settings/project_custom_field_sections/index_component.html.erb
index cce9946bcd5..9ab0747f129 100644
--- a/app/components/settings/project_custom_field_sections/index_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/index_component.html.erb
@@ -1,7 +1,7 @@
<%=
component_wrapper(data: wrapper_data_attributes) do
if @project_custom_field_sections.any?
- flex_layout(classes: "dragula-container", data: { 'allowed-drop-type': "section" }.merge(drop_target_config)) do |flex|
+ flex_layout(classes: "dragula-container", data: { "allowed-drop-type": "section" }.merge(drop_target_config)) do |flex|
@project_custom_field_sections.each do |section|
flex.with_row(
data: draggable_item_config(section)
diff --git a/app/components/settings/project_custom_field_sections/show_component.html.erb b/app/components/settings/project_custom_field_sections/show_component.html.erb
index 5aff40d79c5..704d7e22a8d 100644
--- a/app/components/settings/project_custom_field_sections/show_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/show_component.html.erb
@@ -16,7 +16,7 @@
section_header_container.with_column(flex_layout: true, justify_content: :flex_end) do |actions_container|
actions_container.with_column do
render(Primer::Alpha::ActionMenu.new(data: { test_selector: "project-custom-field-section-action-menu" })) do |menu|
- menu.with_show_button(icon: "kebab-horizontal", 'aria-label': t("settings.project_attributes.label_section_actions"), scheme: :invisible)
+ menu.with_show_button(icon: "kebab-horizontal", "aria-label": t("settings.project_attributes.label_section_actions"), scheme: :invisible)
edit_action_item(menu)
move_actions(menu)
if @project_custom_fields.empty?
@@ -40,7 +40,7 @@
end
end
if @project_custom_fields.empty?
- component.with_row(data: { 'empty-list-item': true }) do
+ component.with_row(data: { "empty-list-item": true }) do
flex_layout(align_items: :center, justify_content: :space_between) do |empty_list_container|
empty_list_container.with_column(ml: 4, mr: 2) do
render(Primer::Beta::Text.new(color: :subtle)) { t("settings.project_attributes.label_no_project_custom_fields") }
diff --git a/app/components/settings/project_custom_fields/header_component.html.erb b/app/components/settings/project_custom_fields/header_component.html.erb
index c9a75973229..cf7fe4fbae8 100644
--- a/app/components/settings/project_custom_fields/header_component.html.erb
+++ b/app/components/settings/project_custom_fields/header_component.html.erb
@@ -11,7 +11,7 @@
render Primer::OpenProject::SubHeader.new do |subheader|
subheader.with_action_component do
render(Primer::Alpha::Dialog.new(id: "project-custom-field-section-dialog", title: t("settings.project_attributes.label_new_section"), size: :medium_portrait)) do |dialog|
- dialog.with_show_button('aria-label': t("settings.project_attributes.label_new_section")) do |button|
+ dialog.with_show_button("aria-label": t("settings.project_attributes.label_new_section")) do |button|
button.with_leading_visual_icon(icon: :plus)
t("settings.project_attributes.label_new_section")
end
diff --git a/app/components/shares/bulk_permission_button_component.html.erb b/app/components/shares/bulk_permission_button_component.html.erb
index 89b9de2588f..0913b9f176b 100644
--- a/app/components/shares/bulk_permission_button_component.html.erb
+++ b/app/components/shares/bulk_permission_button_component.html.erb
@@ -8,7 +8,7 @@
data: { test_selector: "op-share-dialog-bulk-update-role" }
)
) do |menu|
- menu.with_show_button(scheme: :invisible, color: :subtle, data: { 'shares--bulk-selection-target': "bulkUpdateRoleLabel" }) do |button|
+ menu.with_show_button(scheme: :invisible, color: :subtle, data: { "shares--bulk-selection-target": "bulkUpdateRoleLabel" }) do |button|
button.with_trailing_action_icon(icon: "triangle-down")
"Placeholder"
end
@@ -23,9 +23,9 @@
method: :patch,
name: "role_ids[]",
value: role_hash[:value],
- data: { 'shares--bulk-selection-target': "bulkForm bulkUpdateRoleForm",
- 'role-name': role_hash[:label],
- 'test-selector': "op-share-dialog-bulk-update-role-permission-#{role_hash[:label]}" }
+ data: { "shares--bulk-selection-target": "bulkForm bulkUpdateRoleForm",
+ "role-name": role_hash[:label],
+ "test-selector": "op-share-dialog-bulk-update-role-permission-#{role_hash[:label]}" }
}
) do |item|
item.with_description.with_content(role_hash[:description])
diff --git a/app/components/shares/bulk_selection_counter_component.html.erb b/app/components/shares/bulk_selection_counter_component.html.erb
index bb2c778f1c0..b7271eb8786 100644
--- a/app/components/shares/bulk_selection_counter_component.html.erb
+++ b/app/components/shares/bulk_selection_counter_component.html.erb
@@ -6,20 +6,20 @@
value: nil,
label: I18n.t("sharing.label_toggle_all"),
visually_hide_label: true,
- data: { 'shares--bulk-selection-target': "toggleAll",
+ data: { "shares--bulk-selection-target": "toggleAll",
action: "shares--bulk-selection#toggle" }
)
)
)
concat(
- render(Primer::Beta::Text.new(ml: 2, data: { 'shares--bulk-selection-target': "sharedCounter" })) do
+ render(Primer::Beta::Text.new(ml: 2, data: { "shares--bulk-selection-target": "sharedCounter" })) do
I18n.t("sharing.count", count:)
end
)
# Text contents managed by Stimulus controller
concat(
- render(Primer::Beta::Text.new(ml: 2, data: { 'shares--bulk-selection-target': "selectedCounter" }))
+ render(Primer::Beta::Text.new(ml: 2, data: { "shares--bulk-selection-target": "selectedCounter" }))
)
%>
diff --git a/app/components/shares/permission_button_component.html.erb b/app/components/shares/permission_button_component.html.erb
index 88357a0406d..aa5e8e10231 100644
--- a/app/components/shares/permission_button_component.html.erb
+++ b/app/components/shares/permission_button_component.html.erb
@@ -11,9 +11,9 @@
)
) do |menu|
menu.with_show_button(
- disabled: !editable?, data: { 'shares--bulk-selection-target': "userRowRole",
- 'share-id': share.id,
- 'active-role-name': permission_name(active_role.id) }
+ disabled: !editable?, data: { "shares--bulk-selection-target": "userRowRole",
+ "share-id": share.id,
+ "active-role-name": permission_name(active_role.id) }
) do |button|
button.with_trailing_action_icon(icon: :"triangle-down")
permission_name(active_role.id)
diff --git a/app/components/shares/project_queries/upsale_component.html.erb b/app/components/shares/project_queries/upsale_component.html.erb
index e2f3d80819c..ef8bc1f6705 100644
--- a/app/components/shares/project_queries/upsale_component.html.erb
+++ b/app/components/shares/project_queries/upsale_component.html.erb
@@ -1,5 +1,5 @@
<%=
- modal_content.with_row(data: { 'test-selector': "op-share-dialog-upsale-block" }) do
+ modal_content.with_row(data: { "test-selector": "op-share-dialog-upsale-block" }) do
render Primer::OpenProject::FeedbackMessage.new(icon_arguments: { icon: :"op-enterprise-addons", classes: "upsale-colored" }, border: true) do |component|
component.with_heading(tag: :h2, classes: "upsale-colored").with_content(I18n.t(:"ee.upsale.title"))
component.with_description { I18n.t("sharing.project_queries.upsale.message") }
diff --git a/app/components/shares/share_dialog_component.html.erb b/app/components/shares/share_dialog_component.html.erb
index f5302f351fc..ff85013509e 100644
--- a/app/components/shares/share_dialog_component.html.erb
+++ b/app/components/shares/share_dialog_component.html.erb
@@ -1,5 +1,5 @@
<%=
- render(Primer::Alpha::Dialog.new(title: strategy.title, id: "sharing-modal", data: { 'keep-open-on-submit': true }, size: :xlarge, open: open)) do |d|
+ render(Primer::Alpha::Dialog.new(title: strategy.title, id: "sharing-modal", data: { "keep-open-on-submit": true }, size: :xlarge, open: open)) do |d|
d.with_header(variant: :large)
d.with_body do
render(strategy.modal_body_component(errors))
diff --git a/app/components/work_package_relations_tab/add_work_package_child_dialog_component.html.erb b/app/components/work_package_relations_tab/add_work_package_child_dialog_component.html.erb
index 0851442f363..4522ef9f5fc 100644
--- a/app/components/work_package_relations_tab/add_work_package_child_dialog_component.html.erb
+++ b/app/components/work_package_relations_tab/add_work_package_child_dialog_component.html.erb
@@ -19,7 +19,7 @@
buttons.with_component(
Primer::ButtonComponent.new(
data: {
- 'close-dialog-id': DIALOG_ID
+ "close-dialog-id": DIALOG_ID
}
)
) do
diff --git a/app/components/work_package_relations_tab/work_package_relation_dialog_component.html.erb b/app/components/work_package_relations_tab/work_package_relation_dialog_component.html.erb
index 772aae95f1d..34b0f36f814 100644
--- a/app/components/work_package_relations_tab/work_package_relation_dialog_component.html.erb
+++ b/app/components/work_package_relations_tab/work_package_relation_dialog_component.html.erb
@@ -19,7 +19,7 @@
component_collection do |buttons|
buttons.with_component(
Primer::ButtonComponent.new(
- data: { 'close-dialog-id': DIALOG_ID }
+ data: { "close-dialog-id": DIALOG_ID }
)
) do
t(:button_cancel)
diff --git a/app/views/admin/backups/show.html.erb b/app/views/admin/backups/show.html.erb
index 2d6d372099f..59c3a0acb8a 100644
--- a/app/views/admin/backups/show.html.erb
+++ b/app/views/admin/backups/show.html.erb
@@ -58,9 +58,9 @@ See COPYRIGHT and LICENSE files for more details.
<% if @backup_token.present? %>
<%= angular_component_tag "opce-backup", data: {
- 'job-status-id': @job_status_id,
- 'last-backup-date': @last_backup_date,
- 'last-backup-attachment-id': @last_backup_attachment_id,
- 'may-include-attachments': @may_include_attachments
+ "job-status-id": @job_status_id,
+ "last-backup-date": @last_backup_date,
+ "last-backup-attachment-id": @last_backup_attachment_id,
+ "may-include-attachments": @may_include_attachments
} %>
<% end %>
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
index c9c3b4825b3..3333f06634a 100644
--- a/app/views/admin/index.html.erb
+++ b/app/views/admin/index.html.erb
@@ -41,7 +41,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="menu-blocks--container" data-test-selector="menu-blocks--container">
<% @menu_nodes.each do |menu_node| -%>
- <%= link_to menu_node.url, { class: "menu-block", 'data-test-selector': "menu-block" } do %>
+ <%= link_to menu_node.url, { class: "menu-block", "data-test-selector": "menu-block" } do %>
<%= render(Primer::Beta::Octicon.new(icon: menu_node.icon, height: 32, classes: "menu-block--icon", "aria-label": menu_node.caption)) %>
<span class="menu-block--title"> <%= menu_node.caption %> </span>
<% end %>
diff --git a/app/views/admin/settings/aggregation_settings/show.html.erb b/app/views/admin/settings/aggregation_settings/show.html.erb
index f19389bb65a..279ee7ce5ce 100644
--- a/app/views/admin/settings/aggregation_settings/show.html.erb
+++ b/app/views/admin/settings/aggregation_settings/show.html.erb
@@ -27,15 +27,15 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% html_title t(:label_administration), t(:'menus.admin.aggregation') -%>
+<% html_title t(:label_administration), t(:"menus.admin.aggregation") -%>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
- header.with_title { t(:'menus.admin.aggregation') }
+ header.with_title { t(:"menus.admin.aggregation") }
header.with_breadcrumbs(
[{ href: admin_index_path, text: t(:label_administration) },
{ href: admin_settings_aggregation_path, text: t(:"menus.admin.mails_and_notifications") },
- t(:'menus.admin.aggregation')]
+ t(:"menus.admin.aggregation")]
)
end
%>
@@ -48,9 +48,9 @@ See COPYRIGHT and LICENSE files for more details.
container_class: "-xslim" %>
<span class="form--field-instructions">
<%= t(
- :'admin.journal_aggregation.explanation.text',
+ :"admin.journal_aggregation.explanation.text",
webhook_link: link_to(
- t(:'admin.journal_aggregation.explanation.link'),
+ t(:"admin.journal_aggregation.explanation.link"),
admin_outgoing_webhooks_path,
target: "_blank"
)
diff --git a/app/views/admin/settings/authentication_settings/show.html.erb b/app/views/admin/settings/authentication_settings/show.html.erb
index 851e30ef3ac..edc60d3071e 100644
--- a/app/views/admin/settings/authentication_settings/show.html.erb
+++ b/app/views/admin/settings/authentication_settings/show.html.erb
@@ -60,7 +60,7 @@ See COPYRIGHT and LICENSE files for more details.
</fieldset>
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend"><%= I18n.t(:'settings.authentication.single_sign_on') %></legend>
+ <legend class="form--fieldset-legend"><%= I18n.t(:"settings.authentication.single_sign_on") %></legend>
<div class="form--field">
<% providers = AuthProvider
.where(available: true)
diff --git a/app/views/admin/settings/mail_notifications_settings/show.html.erb b/app/views/admin/settings/mail_notifications_settings/show.html.erb
index 1fdfb0d7d51..0fe0f43ff7e 100644
--- a/app/views/admin/settings/mail_notifications_settings/show.html.erb
+++ b/app/views/admin/settings/mail_notifications_settings/show.html.erb
@@ -27,15 +27,15 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% html_title t(:label_administration), t(:'menus.admin.mail_notification') -%>
+<% html_title t(:label_administration), t(:"menus.admin.mail_notification") -%>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
- header.with_title { t(:'menus.admin.mail_notification') }
+ header.with_title { t(:"menus.admin.mail_notification") }
header.with_breadcrumbs(
[{ href: admin_index_path, text: t(:label_administration) },
{ href: admin_settings_aggregation_path, text: t(:"menus.admin.mails_and_notifications") },
- t(:'menus.admin.mail_notification')]
+ t(:"menus.admin.mail_notification")]
)
end
%>
diff --git a/app/views/admin/settings/projects_settings/show.html.erb b/app/views/admin/settings/projects_settings/show.html.erb
index 552c3c5caee..32f5bc95b01 100644
--- a/app/views/admin/settings/projects_settings/show.html.erb
+++ b/app/views/admin/settings/projects_settings/show.html.erb
@@ -50,9 +50,9 @@ See COPYRIGHT and LICENSE files for more details.
protected: protected_projects_columns_options,
name: "settings[enabled_projects_columns][]",
id: "settings_enabled_projects_columns",
- inputLabel: I18n.t(:'queries.configure_view.columns.input_label'),
- inputPlaceholder: I18n.t(:'queries.configure_view.columns.input_placeholder'),
- dragAreaLabel: I18n.t(:'queries.configure_view.columns.drag_area_label')
+ inputLabel: I18n.t(:"queries.configure_view.columns.input_label"),
+ inputPlaceholder: I18n.t(:"queries.configure_view.columns.input_placeholder"),
+ dragAreaLabel: I18n.t(:"queries.configure_view.columns.drag_area_label")
} %>
</div>
</div>
@@ -68,7 +68,7 @@ See COPYRIGHT and LICENSE files for more details.
name: "settings[project_gantt_query]",
id: "settings_project_gantt_query",
query: ::Projects::GanttQueryGeneratorService.current_query,
- 'url-params': "true"
+ "url-params": "true"
} %>
</span>
</span>
diff --git a/app/views/admin/settings/users_settings/show.html.erb b/app/views/admin/settings/users_settings/show.html.erb
index 787fece5810..00afcfbcf1c 100644
--- a/app/views/admin/settings/users_settings/show.html.erb
+++ b/app/views/admin/settings/users_settings/show.html.erb
@@ -42,7 +42,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= styled_form_tag(admin_settings_users_path, method: :patch, class: "admin-settings--form") do %>
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend"><%= t(:'settings.user.default_preferences') %></legend>
+ <legend class="form--fieldset-legend"><%= t(:"settings.user.default_preferences") %></legend>
<div class="form--field" id="setting_default_language">
<%= setting_select :default_language, all_lang_options_for_select, container_class: "-slim" %>
@@ -59,7 +59,7 @@ See COPYRIGHT and LICENSE files for more details.
</fieldset>
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend"><%= t(:'settings.user.display_format') %></legend>
+ <legend class="form--fieldset-legend"><%= t(:"settings.user.display_format") %></legend>
<div class="form--field">
<%= setting_select :user_format, @options[:user_format], container_class: "-slim" %>
@@ -68,7 +68,7 @@ See COPYRIGHT and LICENSE files for more details.
</fieldset>
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend"><%= t(:'settings.user.deletion') %></legend>
+ <legend class="form--fieldset-legend"><%= t(:"settings.user.deletion") %></legend>
<div class="form--field">
<%= setting_check_box :users_deletable_by_admins %>
</div>
diff --git a/app/views/admin/settings/virus_scanning_settings/show.html.erb b/app/views/admin/settings/virus_scanning_settings/show.html.erb
index c69c8a72659..60cecfb1a0b 100644
--- a/app/views/admin/settings/virus_scanning_settings/show.html.erb
+++ b/app/views/admin/settings/virus_scanning_settings/show.html.erb
@@ -41,8 +41,8 @@ See COPYRIGHT and LICENSE files for more details.
method: :patch,
data: {
controller: "refresh-on-form-changes",
- 'refresh-on-form-changes-target': "form",
- 'refresh-on-form-changes-turbo-stream-url-value': url_for(action: "av_form")
+ "refresh-on-form-changes-target": "form",
+ "refresh-on-form-changes-turbo-stream-url-value": url_for(action: "av_form")
}
) do %>
<div class="form--field">
diff --git a/app/views/announcement_mailer/announce.html.erb b/app/views/announcement_mailer/announce.html.erb
index 99e1e850f98..a3fabee74f6 100644
--- a/app/views/announcement_mailer/announce.html.erb
+++ b/app/views/announcement_mailer/announce.html.erb
@@ -12,14 +12,14 @@
<table>
<% if body_subheader %>
<tr>
- <td style="<%= placeholder_text_styles('font-weight': "bold") %>">
+ <td style="<%= placeholder_text_styles("font-weight": "bold") %>">
<%= format_text body_subheader %>
</td>
</tr>
<% end %>
<% if body_header %>
<tr>
- <td style="<%= placeholder_text_styles(color: "#333333", 'line-height': "36px", 'font-size': "18px", 'font-weight': "bold") %>">
+ <td style="<%= placeholder_text_styles(color: "#333333", "line-height": "36px", "font-size": "18px", "font-weight": "bold") %>">
<%= format_text body_header %>
</td>
</tr>
@@ -47,6 +47,6 @@
<%= render partial: "mailer/notification_settings_table",
locals: {
button_url: my_reminders_url,
- button_text: I18n.t(:'mail.notification.settings')
+ button_text: I18n.t(:"mail.notification.settings")
} %>
<% end %>
diff --git a/app/views/api_docs/index.html.erb b/app/views/api_docs/index.html.erb
index 96390b08ed0..c56ab8382dd 100644
--- a/app/views/api_docs/index.html.erb
+++ b/app/views/api_docs/index.html.erb
@@ -3,7 +3,7 @@
<%= content_tag(
"openapi-explorer",
"",
- 'spec-url': api_v3_paths.api_spec,
- 'server-url': api_v3_paths.root_path,
- 'nav-bg-color': color_by_variable("main-menu-bg-color")
+ "spec-url": api_v3_paths.api_spec,
+ "server-url": api_v3_paths.root_path,
+ "nav-bg-color": color_by_variable("main-menu-bg-color")
) %>
diff --git a/app/views/attribute_help_texts/_tab.html.erb b/app/views/attribute_help_texts/_tab.html.erb
index 192c9500f8d..ff36da20fb9 100644
--- a/app/views/attribute_help_texts/_tab.html.erb
+++ b/app/views/attribute_help_texts/_tab.html.erb
@@ -47,7 +47,7 @@
helpTextId: attribute_help_text.id,
attribute: attribute_help_text.attribute_name,
attributeScope: attribute_help_text.attribute_scope,
- additionalLabel: t(:'attribute_help_texts.show_preview')
+ additionalLabel: t(:"attribute_help_texts.show_preview")
} %>
</td>
<td class="buttons">
diff --git a/app/views/attribute_help_texts/edit.html.erb b/app/views/attribute_help_texts/edit.html.erb
index d78e69dfd58..36e9e65e78c 100644
--- a/app/views/attribute_help_texts/edit.html.erb
+++ b/app/views/attribute_help_texts/edit.html.erb
@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% html_title t(:label_administration), t(:'attribute_help_texts.edit', attribute_caption: @attribute_help_text.attribute_caption) %>
+<% html_title t(:label_administration), t(:"attribute_help_texts.edit", attribute_caption: @attribute_help_text.attribute_caption) %>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
diff --git a/app/views/attribute_help_texts/new.html.erb b/app/views/attribute_help_texts/new.html.erb
index aa63c3dd92d..48df86e592d 100644
--- a/app/views/attribute_help_texts/new.html.erb
+++ b/app/views/attribute_help_texts/new.html.erb
@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% html_title t(:label_administration), t(:'attribute_help_texts.add_new') %>
+<% html_title t(:label_administration), t(:"attribute_help_texts.add_new") %>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
diff --git a/app/views/custom_actions/_form.html.erb b/app/views/custom_actions/_form.html.erb
index 6ac78b9784c..9119575513a 100644
--- a/app/views/custom_actions/_form.html.erb
+++ b/app/views/custom_actions/_form.html.erb
@@ -100,7 +100,7 @@
<div class="form--field-container">
<% date = action.values.first %>
<%= angular_component_tag "opce-custom-date-action-admin",
- data: { 'field-value': date.try(:iso8601) || date, 'field-name': input_name } %>
+ data: { "field-value": date.try(:iso8601) || date, "field-name": input_name } %>
</div>
<% elsif %i(string_property text_property).include?(action.type) %>
<div class="form--field-container">
@@ -146,7 +146,7 @@
<div class="form--field">
<label class="form--label" for="custom-actions-form--add-action">
<%= op_icon("icon-add icon4") %>
- <%= I18n.t(:'custom_actions.actions.add') %>
+ <%= I18n.t(:"custom_actions.actions.add") %>
</label>
<span class="form--field-container">
<span class="form--text-field-container -middle">
diff --git a/app/views/custom_fields/_custom_options.html.erb b/app/views/custom_fields/_custom_options.html.erb
index e75d56027b9..099b847a03c 100644
--- a/app/views/custom_fields/_custom_options.html.erb
+++ b/app/views/custom_fields/_custom_options.html.erb
@@ -98,7 +98,7 @@ See COPYRIGHT and LICENSE files for more details.
disabled: true,
container_class: "custom-option-default-value",
data: {
- 'admin--custom-fields-target': "customOptionDefaults",
+ "admin--custom-fields-target": "customOptionDefaults",
action: "admin--custom-fields#uncheckOtherDefaults"
},
no_label: true %>
@@ -144,7 +144,7 @@ See COPYRIGHT and LICENSE files for more details.
method: :delete,
data: {
action: "admin--custom-fields#removeOption",
- confirm: t(:'custom_fields.confirm_destroy_option')
+ confirm: t(:"custom_fields.confirm_destroy_option")
},
class: "icon icon-delete delete-custom-option",
title: t(:button_delete) %>
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index 97aee712200..ec51f911e44 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -53,7 +53,7 @@ See COPYRIGHT and LICENSE files for more details.
disabled: !@custom_field.new_record?,
data: {
action: "admin--custom-fields#formatChanged",
- 'admin--custom-fields-target': "format"
+ "admin--custom-fields-target": "format"
} %>
<div class="form--field-extra-actions" <%= format_dependent.attributes(:enterpriseBanner) %>>
<%= angular_component_tag "opce-enterprise-banner",
diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erb
index 1ca1328a6b6..448c0fba16d 100644
--- a/app/views/custom_fields/new.html.erb
+++ b/app/views/custom_fields/new.html.erb
@@ -45,8 +45,8 @@ See COPYRIGHT and LICENSE files for more details.
<% content_controller "admin--custom-fields",
dynamic: true,
- 'admin--custom-fields-format-config-value': OpenProject::CustomFieldFormatDependent.stimulus_config,
- 'admin--custom-fields-enterprise-edition-value': EnterpriseToken.allows_to?(:custom_field_hierarchies) %>
+ "admin--custom-fields-format-config-value": OpenProject::CustomFieldFormatDependent.stimulus_config,
+ "admin--custom-fields-enterprise-edition-value": EnterpriseToken.allows_to?(:custom_field_hierarchies) %>
<%= labelled_tabular_form_for @custom_field, as: :custom_field,
url: custom_fields_path,
@@ -56,6 +56,6 @@ See COPYRIGHT and LICENSE files for more details.
<%= styled_button_tag t(:button_save),
class: "-primary -with-icon icon-checkmark",
data: {
- 'admin--custom-fields-target': "submitButton"
+ "admin--custom-fields-target": "submitButton"
} %>
<% end %>
diff --git a/app/views/custom_styles/_interface.html.erb b/app/views/custom_styles/_interface.html.erb
index adaa0d20da7..17a4746519e 100644
--- a/app/views/custom_styles/_interface.html.erb
+++ b/app/views/custom_styles/_interface.html.erb
@@ -20,7 +20,7 @@
<%= styled_text_field_tag "design_colors[]" + design_color.variable,
design_color.hexcode,
class: "design-color--variable-input",
- data: { 'variable-name': design_color.variable } %>
+ data: { "variable-name": design_color.variable } %>
</span>
</span>
<div class="form--field-instructions">
diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erb
index 42fc35d0001..f498189e23b 100644
--- a/app/views/digest_mailer/work_packages.html.erb
+++ b/app/views/digest_mailer/work_packages.html.erb
@@ -10,9 +10,9 @@
<td>
<%= render partial: "mailer/mailer_header",
locals: {
- summary: "#{I18n.t(:'mail.digests.you_have')} #{digest_summary_text(@notification_ids.length, @mentioned_count)}",
+ summary: "#{I18n.t(:"mail.digests.you_have")} #{digest_summary_text(@notification_ids.length, @mentioned_count)}",
button_href: notifications_url,
- button_text: I18n.t(:'mail.notification.center'),
+ button_text: I18n.t(:"mail.notification.center"),
user: @user,
} %>
@@ -43,7 +43,7 @@
<%= render layout: "mailer/notification_settings_table",
locals: {
button_url: my_reminders_url,
- button_text: I18n.t(:'mail.notification.settings')
+ button_text: I18n.t(:"mail.notification.settings")
} do %>
<% if @aggregated_notifications.length > DigestMailer::MAX_SHOWN_WORK_PACKAGES %>
<table>
@@ -63,7 +63,7 @@
<a href="<%= notifications_url %>"
target="_blank"
style="color: #1A67A3; text-decoration: none; font-size: 14px;white-space: nowrap;">
- <%= I18n.t(:'mail.work_packages.see_all') %>
+ <%= I18n.t(:"mail.work_packages.see_all") %>
</a>
</td>
</tr>
diff --git a/app/views/digest_mailer/work_packages.text.erb b/app/views/digest_mailer/work_packages.text.erb
index c107116a711..60e91feda0f 100644
--- a/app/views/digest_mailer/work_packages.text.erb
+++ b/app/views/digest_mailer/work_packages.text.erb
@@ -1,5 +1,5 @@
-<%= I18n.t(:'mail.salutation', user: @user.firstname) %>
-<%= "#{I18n.t(:'mail.digests.you_have')} #{digest_summary_text(@notification_ids.length, @mentioned_count)}" %>
+<%= I18n.t(:"mail.salutation", user: @user.firstname) %>
+<%= "#{I18n.t(:"mail.digests.you_have")} #{digest_summary_text(@notification_ids.length, @mentioned_count)}" %>
<%= "-" * 100 %>
<% @aggregated_notifications.first(DigestMailer::MAX_SHOWN_WORK_PACKAGES).each do | work_package, notifications_by_work_package| %>
diff --git a/app/views/filters/_text.html.erb b/app/views/filters/_text.html.erb
index fa49989a177..79b49bde366 100644
--- a/app/views/filters/_text.html.erb
+++ b/app/views/filters/_text.html.erb
@@ -7,8 +7,8 @@
filter.values.first,
class: "advanced-filters--text-field -slim",
data: {
- 'filter--filters-form-target': "simpleValue",
- 'filter-name': filter.name
+ "filter--filters-form-target": "simpleValue",
+ "filter-name": filter.name
} %>
</div>
<% elsif filter.type == :text %>
@@ -17,8 +17,8 @@
filter.values.first,
class: "advanced-filters--text-field -slim",
data: {
- 'filter--filters-form-target': "simpleValue",
- 'filter-name': filter.name
+ "filter--filters-form-target": "simpleValue",
+ "filter-name": filter.name
} %>
</div>
<% elsif filter.type == :integer %>
@@ -28,8 +28,8 @@
class: "advanced-filters--text-field -slim",
step: "any",
data: {
- 'filter--filters-form-target': "simpleValue",
- 'filter-name': filter.name
+ "filter--filters-form-target": "simpleValue",
+ "filter-name": filter.name
} %>
</div>
<% elsif filter.type == :float %>
@@ -39,8 +39,8 @@
class: "advanced-filters--text-field -slim",
step: "any",
data: {
- 'filter--filters-form-target': "simpleValue",
- 'filter-name': filter.name
+ "filter--filters-form-target": "simpleValue",
+ "filter-name": filter.name
} %>
</div>
<% end %>
diff --git a/app/views/filters/date/_days.html.erb b/app/views/filters/date/_days.html.erb
index 3d505ac19d0..6e351fe8fee 100644
--- a/app/views/filters/date/_days.html.erb
+++ b/app/views/filters/date/_days.html.erb
@@ -6,8 +6,8 @@
value,
id: "#{filter.name}_value",
class: "advanced-filters--text-field -slim",
- 'data-filter--filters-form-target': "days",
- 'data-filter-name': filter.name %>
+ "data-filter--filters-form-target": "days",
+ "data-filter-name": filter.name %>
<label for="<%= "#{filter.name}_value" %>" class="form-label -transparent">days</label>
</span>
</div>
diff --git a/app/views/filters/list/_select.html.erb b/app/views/filters/list/_select.html.erb
index e55be1b4bf7..2a3a8f6978b 100644
--- a/app/views/filters/list/_select.html.erb
+++ b/app/views/filters/list/_select.html.erb
@@ -9,8 +9,8 @@
),
{
class: "form--select -slim",
- 'data-filter--filters-form-target': "filterValueSelect",
- 'data-filter-name': filter.name,
+ "data-filter--filters-form-target": "filterValueSelect",
+ "data-filter-name": filter.name,
id: "#{filter.name}_value"
}]
if multi_value
diff --git a/app/views/homescreen/blocks/_my_account.html.erb b/app/views/homescreen/blocks/_my_account.html.erb
index 5d808e9e772..321bede8940 100644
--- a/app/views/homescreen/blocks/_my_account.html.erb
+++ b/app/views/homescreen/blocks/_my_account.html.erb
@@ -5,8 +5,8 @@
<%= link_to t(:label_profile), my_account_path, title: t(:label_profile) %>
</li>
<li>
- <%= link_to t(:'js.my_page.label'), my_page_path,
- title: t(:'js.my_page.label') %>
+ <%= link_to t(:"js.my_page.label"), my_page_path,
+ title: t(:"js.my_page.label") %>
</li>
<li>
<%= link_to t(:button_change_password), my_password_path, title: t(:button_change_password) %>
diff --git a/app/views/member_mailer/added_project.html.erb b/app/views/member_mailer/added_project.html.erb
index 94b0bdddd2d..42259598dcd 100644
--- a/app/views/member_mailer/added_project.html.erb
+++ b/app/views/member_mailer/added_project.html.erb
@@ -8,7 +8,7 @@
<%= format_text(@message) %>
-<%= I18n.t(:'mail_member_added_project.body.roles') %>
+<%= I18n.t(:"mail_member_added_project.body.roles") %>
<ul>
<% @roles.each do |role| %>
<li>
diff --git a/app/views/member_mailer/added_project.text.erb b/app/views/member_mailer/added_project.text.erb
index 9dda1c701f7..4fc58052b04 100644
--- a/app/views/member_mailer/added_project.text.erb
+++ b/app/views/member_mailer/added_project.text.erb
@@ -8,7 +8,7 @@
<%= @message %>
-<%= I18n.t(:'mail_member_added_project.body.roles') %>
+<%= I18n.t(:"mail_member_added_project.body.roles") %>
<% @roles.each do |role| %>
* <%= h(role.name) %>
<% end %>
diff --git a/app/views/member_mailer/updated_global.html.erb b/app/views/member_mailer/updated_global.html.erb
index 264349cdc62..d200a130e90 100644
--- a/app/views/member_mailer/updated_global.html.erb
+++ b/app/views/member_mailer/updated_global.html.erb
@@ -7,7 +7,7 @@
<%= format_text(@message) %>
-<%= I18n.t(:'mail_member_updated_global.body.roles') %>
+<%= I18n.t(:"mail_member_updated_global.body.roles") %>
<ul>
<% @roles.each do |role| %>
<li>
diff --git a/app/views/member_mailer/updated_global.text.erb b/app/views/member_mailer/updated_global.text.erb
index 8a54c87b4ce..a425f785ab6 100644
--- a/app/views/member_mailer/updated_global.text.erb
+++ b/app/views/member_mailer/updated_global.text.erb
@@ -7,7 +7,7 @@
<%= @message %>
-<%= I18n.t(:'mail_member_updated_global.body.roles') %>
+<%= I18n.t(:"mail_member_updated_global.body.roles") %>
<% @roles.each do |role| %>
* <%= h(role.name) %>
<% end %>
diff --git a/app/views/member_mailer/updated_project.html.erb b/app/views/member_mailer/updated_project.html.erb
index c1c112005ad..3ff8dc91baa 100644
--- a/app/views/member_mailer/updated_project.html.erb
+++ b/app/views/member_mailer/updated_project.html.erb
@@ -8,7 +8,7 @@
<%= format_text(@message) %>
-<%= I18n.t(:'mail_member_updated_project.body.roles') %>
+<%= I18n.t(:"mail_member_updated_project.body.roles") %>
<ul>
<% @roles.each do |role| %>
<li>
diff --git a/app/views/member_mailer/updated_project.text.erb b/app/views/member_mailer/updated_project.text.erb
index 5b0c09bfdbb..eff3e28f8d6 100644
--- a/app/views/member_mailer/updated_project.text.erb
+++ b/app/views/member_mailer/updated_project.text.erb
@@ -6,7 +6,7 @@
)
%>
-<%= I18n.t(:'mail_member_updated_project.body.roles') %>
+<%= I18n.t(:"mail_member_updated_project.body.roles") %>
<% @roles.each do |role| %>
* <%= h(role.name) %>
<% end %>
diff --git a/app/views/members/_member_form.html.erb b/app/views/members/_member_form.html.erb
index 2313d7e885a..b122719d6dc 100644
--- a/app/views/members/_member_form.html.erb
+++ b/app/views/members/_member_form.html.erb
@@ -33,11 +33,11 @@ See COPYRIGHT and LICENSE files for more details.
html: { id: "members_add_form",
class: "form -vertical -bordered -medium-compressed" },
data: {
- 'members-form-target': "addMemberForm",
+ "members-form-target": "addMemberForm",
controller: "user-limit",
- 'user-limit-open-seats-value': OpenProject::Enterprise.open_seats_count,
- 'user-limit-member-autocompleter-value': true,
- 'application-target': "dynamic",
+ "user-limit-open-seats-value": OpenProject::Enterprise.open_seats_count,
+ "user-limit-member-autocompleter-value": true,
+ "application-target": "dynamic",
}
) do |f| %>
<a title="<%= t("js.close_form_title") %>"
diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb
index 6d141a84904..4b68f77a8a5 100644
--- a/app/views/messages/_form.html.erb
+++ b/app/views/messages/_form.html.erb
@@ -36,7 +36,7 @@ See COPYRIGHT and LICENSE files for more details.
required: true,
container_class: "-wide",
autofocus: true,
- data: { 'forum-messages-target': "subject" } %>
+ data: { "forum-messages-target": "subject" } %>
</div>
<% unless replying %>
<div class="form--field">
diff --git a/app/views/oauth/applications/show.html.erb b/app/views/oauth/applications/show.html.erb
index 5f58394c748..09b9cf9a5b6 100644
--- a/app/views/oauth/applications/show.html.erb
+++ b/app/views/oauth/applications/show.html.erb
@@ -83,13 +83,13 @@ See COPYRIGHT and LICENSE files for more details.
<% if [email protected]_credentials_user_id %>
<% component.with_attribute(
- key: I18n.t(:'doorkeeper.auth_url'),
+ key: I18n.t(:"doorkeeper.auth_url"),
value: oauth_authorization_url
) %>
<% end %>
<% component.with_attribute(
- key: I18n.t(:'doorkeeper.access_token_url'),
+ key: I18n.t(:"doorkeeper.access_token_url"),
value: oauth_token_url
) %>
<% end %>
diff --git a/app/views/projects/settings/repository/_vendor_attribute_groups.html.erb b/app/views/projects/settings/repository/_vendor_attribute_groups.html.erb
index 478e4a99b56..a17397f8ba9 100644
--- a/app/views/projects/settings/repository/_vendor_attribute_groups.html.erb
+++ b/app/views/projects/settings/repository/_vendor_attribute_groups.html.erb
@@ -3,7 +3,7 @@
id: "#{vendor}-#{type}",
hidden: !existing,
data: {
- 'repository-settings-target': "scmTypeOptions"
+ "repository-settings-target": "scmTypeOptions"
} do %>
<div class="attributes-group--header">
<div class="attributes-group--header-container">
diff --git a/app/views/projects/settings/types/_form.html.erb b/app/views/projects/settings/types/_form.html.erb
index 37fe91caff4..86aae5b6d5e 100644
--- a/app/views/projects/settings/types/_form.html.erb
+++ b/app/views/projects/settings/types/_form.html.erb
@@ -88,8 +88,8 @@ See COPYRIGHT and LICENSE files for more details.
type.id,
projects_types_id.include?(type.id),
id: type_id,
- 'data-standard': type.is_standard %>
- <%= hidden_field_tag "project[type_ids][]", "", 'data-for': type_id %>
+ "data-standard": type.is_standard %>
+ <%= hidden_field_tag "project[type_ids][]", "", "data-for": type_id %>
</td>
<td>
<%= icon_for_type(type) %>
diff --git a/app/views/reminders/notification_mailer/reminder_notification.html.erb b/app/views/reminders/notification_mailer/reminder_notification.html.erb
index 0100f4261e1..e375173fc90 100644
--- a/app/views/reminders/notification_mailer/reminder_notification.html.erb
+++ b/app/views/reminders/notification_mailer/reminder_notification.html.erb
@@ -12,7 +12,7 @@
locals: {
summary: reminder_summary_text,
button_href: notifications_url,
- button_text: I18n.t(:'mail.notification.center'),
+ button_text: I18n.t(:"mail.notification.center"),
user: @user,
} %>
@@ -39,7 +39,7 @@
<%= render layout: "mailer/notification_settings_table",
locals: {
button_url: my_reminders_url,
- button_text: I18n.t(:'mail.notification.settings')
+ button_text: I18n.t(:"mail.notification.settings")
} do %>
<% end %>
diff --git a/app/views/reminders/notification_mailer/reminder_notification.text.erb b/app/views/reminders/notification_mailer/reminder_notification.text.erb
index 8a945818408..ce8e0d34e55 100644
--- a/app/views/reminders/notification_mailer/reminder_notification.text.erb
+++ b/app/views/reminders/notification_mailer/reminder_notification.text.erb
@@ -1,4 +1,4 @@
-<%= I18n.t(:'mail.salutation', user: @user.firstname) %>
+<%= I18n.t(:"mail.salutation", user: @user.firstname) %>
<%= reminder_summary_text %>
<%= text_email_wrapper %>
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb
index c8a2d6e27b4..7077340819b 100644
--- a/app/views/repositories/_dir_list_content.html.erb
+++ b/app/views/repositories/_dir_list_content.html.erb
@@ -50,7 +50,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= link_to "#",
class: "icon-context dir-expander",
title: I18n.t("js.label_expand"),
- 'aria-label': I18n.t("js.label_expand"),
+ "aria-label": I18n.t("js.label_expand"),
data: {
action: "repository-navigation#toggleDirectory",
element: "dir_#{tr_id}",
diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb
index 8953a73f42a..8a47abdc934 100644
--- a/app/views/repositories/show.html.erb
+++ b/app/views/repositories/show.html.erb
@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "revision_selector",
class: "form -vertical",
data: {
- 'repository-navigation-target': "form",
+ "repository-navigation-target": "form",
}
) do %>
<li class="toolbar-item toolbar-input-group hidden-for-mobile">
@@ -64,7 +64,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "revision-identifier-input",
placeholder: t(:label_revision),
data: {
- 'repository-navigation-target': "revision",
+ "repository-navigation-target": "revision",
action: "keydown.enter->repository-navigation#sendForm"
} %>
</li>
@@ -78,7 +78,7 @@ See COPYRIGHT and LICENSE files for more details.
include_blank: "--- #{t(:actionview_instancetag_blank_option)} ---",
id: "revision-branch-select",
data: {
- 'repository-navigation-target': "branch",
+ "repository-navigation-target": "branch",
action: "repository-navigation#applyValue"
} %>
</li>
@@ -93,7 +93,7 @@ See COPYRIGHT and LICENSE files for more details.
include_blank: "--- #{t(:actionview_instancetag_blank_option)} ---",
id: "revision-tag-select",
data: {
- 'repository-navigation-target': "tag",
+ "repository-navigation-target": "tag",
action: "repository-navigation#applyValue"
} %>
</li>
diff --git a/app/views/sharing_mailer/shared_work_package.html.erb b/app/views/sharing_mailer/shared_work_package.html.erb
index 8a0d8387f8d..59d1751218e 100644
--- a/app/views/sharing_mailer/shared_work_package.html.erb
+++ b/app/views/sharing_mailer/shared_work_package.html.erb
@@ -21,7 +21,7 @@
user: @shared_with_user,
summary:,
button_href: @url,
- button_text: I18n.t(:'mail.sharing.work_packages.open_work_package'),
+ button_text: I18n.t(:"mail.sharing.work_packages.open_work_package"),
} %>
<%= render layout: "mailer/notification_row",
@@ -50,7 +50,7 @@
<%= render partial: "mailer/notification_settings_table",
locals: {
button_url: my_reminders_url,
- button_text: I18n.t(:'mail.notification.settings')
+ button_text: I18n.t(:"mail.notification.settings")
} %>
<% if @shared_with_user.invited? %>
diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erb
index 69ca0c2d97e..5e8a6ba096b 100644
--- a/app/views/types/form/_form_configuration.html.erb
+++ b/app/views/types/form/_form_configuration.html.erb
@@ -58,9 +58,9 @@ See COPYRIGHT and LICENSE files for more details.
"opce-admin-type-form-configuration",
"",
data: {
- 'active-groups': form_attributes[:actives],
- 'inactive-attributes': form_attributes[:inactives],
- 'no-filter-query': no_filter_query
+ "active-groups": form_attributes[:actives],
+ "inactive-attributes": form_attributes[:inactives],
+ "no-filter-query": no_filter_query
}
) %>
</div>
diff --git a/app/views/users/_general.html.erb b/app/views/users/_general.html.erb
index b93f9b394db..897c8672a39 100644
--- a/app/views/users/_general.html.erb
+++ b/app/views/users/_general.html.erb
@@ -48,8 +48,8 @@ See COPYRIGHT and LICENSE files for more details.
},
data: {
controller: "admin--users",
- 'application-target': "dynamic",
- 'admin--users-password-auth-selected-value': @user.ldap_auth_source_id.blank?,
+ "application-target": "dynamic",
+ "admin--users-password-auth-selected-value": @user.ldap_auth_source_id.blank?,
},
as: :user do |f| %>
<%= render partial: "form", locals: { f: f } %>
diff --git a/app/views/users/form/authentication/_auth_source.html.erb b/app/views/users/form/authentication/_auth_source.html.erb
index c8f34d49434..efdf690ea02 100644
--- a/app/views/users/form/authentication/_auth_source.html.erb
+++ b/app/views/users/form/authentication/_auth_source.html.erb
@@ -5,7 +5,7 @@
:id,
:name,
{
- label: :'activerecord.attributes.user.auth_source',
+ label: :"activerecord.attributes.user.auth_source",
container_class: "-middle",
include_blank: t(:label_internal)
},
diff --git a/app/views/users/form/authentication/_internal_password.html.erb b/app/views/users/form/authentication/_internal_password.html.erb
index 3551be21483..462717be175 100644
--- a/app/views/users/form/authentication/_internal_password.html.erb
+++ b/app/views/users/form/authentication/_internal_password.html.erb
@@ -2,7 +2,7 @@
<%= content_tag :div,
data: {
controller: "disable-when-checked",
- 'admin--users-target': "passwordFields"
+ "admin--users-target": "passwordFields"
},
hidden: [email protected]_password_allowed? do %>
<% assign_random_password_enabled = params[:user] &&
@@ -15,7 +15,7 @@
"1",
assign_random_password_enabled,
data: {
- 'disable-when-checked-target': "cause"
+ "disable-when-checked-target": "cause"
} %>
</div>
</div>
@@ -26,7 +26,7 @@
required: @user.new_record?,
disabled: assign_random_password_enabled,
data: {
- 'disable-when-checked-target': "effect"
+ "disable-when-checked-target": "effect"
},
container_class: "-middle" %>
<div class="form--field-instructions">
@@ -38,7 +38,7 @@
required: @user.new_record?,
disabled: assign_random_password_enabled,
data: {
- 'disable-when-checked-target': "effect"
+ "disable-when-checked-target": "effect"
},
container_class: "-middle" %>
</div>
diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb
index 65ec53cc2e8..75609f6a83b 100644
--- a/app/views/users/new.html.erb
+++ b/app/views/users/new.html.erb
@@ -48,8 +48,8 @@ See COPYRIGHT and LICENSE files for more details.
html: { class: nil, autocomplete: "off" },
data: {
controller: "admin--users",
- 'application-target': "dynamic",
- 'admin--users-password-auth-selected-value': @user.ldap_auth_source_id.blank?,
+ "application-target": "dynamic",
+ "admin--users-password-auth-selected-value": @user.ldap_auth_source_id.blank?,
},
as: :user do |f| %>
<%= render partial: "simple_form", locals: { f: f, auth_sources: @ldap_auth_sources, user: @user } %>
diff --git a/app/views/wiki/_page_form.html.erb b/app/views/wiki/_page_form.html.erb
index 3a15ab960c6..907fbb0ceee 100644
--- a/app/views/wiki/_page_form.html.erb
+++ b/app/views/wiki/_page_form.html.erb
@@ -30,7 +30,7 @@
<div class="form--field">
<%= f.text_field :journal_notes,
class: "-border-on-hover-only -hide-placeholder-on-focus",
- label_options: { class: "hidden-for-sighted", label: :'attributes.comment' },
+ label_options: { class: "hidden-for-sighted", label: :"attributes.comment" },
autocomplete: "off",
container_class: "-wide",
placeholder: t(:text_what_did_you_change_click_to_add_comment) %>
diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erb
index bd2d2d17743..754e2a9b8d6 100644
--- a/app/views/wiki/history.html.erb
+++ b/app/views/wiki/history.html.erb
@@ -129,7 +129,7 @@ See COPYRIGHT and LICENSE files for more details.
class: "history-cb-from",
id: "cb-#{line_num}",
data: {
- 'journal-history-target': "fromVersion",
+ "journal-history-target": "fromVersion",
action: "journal-history#selectToVersion"
}
) %>
@@ -144,7 +144,7 @@ See COPYRIGHT and LICENSE files for more details.
(line_num == 2),
id: "cbto-#{line_num}",
data: {
- 'journal-history-target': "toVersion",
+ "journal-history-target": "toVersion",
action: "journal-history#selectFromVersion"
}
) %>
diff --git a/app/views/work_package_mailer/mentioned.html.erb b/app/views/work_package_mailer/mentioned.html.erb
index 29e61baac42..fc947797e7b 100644
--- a/app/views/work_package_mailer/mentioned.html.erb
+++ b/app/views/work_package_mailer/mentioned.html.erb
@@ -10,9 +10,9 @@
<td>
<%= render partial: "mailer/mailer_header",
locals: {
- summary: I18n.t(:'mail.work_packages.mentioned_by', user: @journal.user),
+ summary: I18n.t(:"mail.work_packages.mentioned_by", user: @journal.user),
button_href: details_notifications_url(@work_package.id, tab: :activity),
- button_text: I18n.t(:'mail.notification.see_in_center'),
+ button_text: I18n.t(:"mail.notification.see_in_center"),
user: @user,
} %>
@@ -35,7 +35,7 @@
<%= render partial: "mailer/notification_settings_table",
locals: {
button_url: my_reminders_url,
- button_text: I18n.t(:'mail.notification.settings')
+ button_text: I18n.t(:"mail.notification.settings")
} %>
<table>
diff --git a/app/views/work_package_mailer/mentioned.text.erb b/app/views/work_package_mailer/mentioned.text.erb
index 0303c937437..3c22f6ccd30 100644
--- a/app/views/work_package_mailer/mentioned.text.erb
+++ b/app/views/work_package_mailer/mentioned.text.erb
@@ -1,5 +1,5 @@
-<%= I18n.t(:'mail.salutation', user: @user.firstname) %>
-<%= "#{I18n.t(:'mail.work_packages.mentioned_by', user: @journal.user)}" %>
+<%= I18n.t(:"mail.salutation", user: @user.firstname) %>
+<%= "#{I18n.t(:"mail.work_packages.mentioned_by", user: @journal.user)}" %>
<%= "-" * 100 %>
diff --git a/app/views/work_packages/moves/new.html.erb b/app/views/work_packages/moves/new.html.erb
index 83d5f8a03c5..b26d067a3f7 100644
--- a/app/views/work_packages/moves/new.html.erb
+++ b/app/views/work_packages/moves/new.html.erb
@@ -47,8 +47,8 @@ See COPYRIGHT and LICENSE files for more details.
id: "move_form",
data: {
controller: "refresh-on-form-changes",
- 'refresh-on-form-changes-target': "form",
- 'refresh-on-form-changes-refresh-url-value': url_for(action: "new")
+ "refresh-on-form-changes-target": "form",
+ "refresh-on-form-changes-refresh-url-value": url_for(action: "new")
},
class: "-wide-labels augment--refresh-on-form-changes"
) do %>
@@ -76,7 +76,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "new_project_id",
class: "remote-field--input",
data: {
- 'test-selector': "new_project_id"
+ "test-selector": "new_project_id"
} %>
</div>
</div>
diff --git a/lookbook/previews/op_primer/border_box_table_component_preview/with_action_menu.html.erb b/lookbook/previews/op_primer/border_box_table_component_preview/with_action_menu.html.erb
index f1b7ba2bb25..d3f55485682 100644
--- a/lookbook/previews/op_primer/border_box_table_component_preview/with_action_menu.html.erb
+++ b/lookbook/previews/op_primer/border_box_table_component_preview/with_action_menu.html.erb
@@ -24,7 +24,7 @@
def action_menu
render(Primer::Alpha::ActionMenu.new) do |menu|
- menu.with_show_button(icon: "kebab-horizontal", 'aria-label': "More", scheme: :invisible)
+ menu.with_show_button(icon: "kebab-horizontal", "aria-label": "More", scheme: :invisible)
menu.with_item(
tag: :a,
label: "Edit",
diff --git a/lookbook/previews/patterns/layout_preview/default.html.erb b/lookbook/previews/patterns/layout_preview/default.html.erb
index 4b0d66cbfd8..aee423aa4c3 100644
--- a/lookbook/previews/patterns/layout_preview/default.html.erb
+++ b/lookbook/previews/patterns/layout_preview/default.html.erb
@@ -12,7 +12,7 @@
"Attached files are available to all meeting participants. You can also drag and drop these into agenda item notes."
end
- section.with_action_icon(icon: :pencil, 'aria-label': "Edit")
+ section.with_action_icon(icon: :pencil, "aria-label": "Edit")
section.with_footer_button(tag: :a, href: "#") do |button|
button.with_leading_visual_icon(icon: :pencil)
"Additional action"
@@ -23,7 +23,7 @@
panel.with_section do |section|
section.with_title { "Without counter" }
- section.with_action_icon(icon: :gear, 'aria-label': "Manage")
+ section.with_action_icon(icon: :gear, "aria-label": "Manage")
"Some more content here"
end
diff --git a/modules/auth_saml/app/components/saml/providers/sections/metadata_form_component.html.erb b/modules/auth_saml/app/components/saml/providers/sections/metadata_form_component.html.erb
index 864cc1f47b9..5e87f07807f 100644
--- a/modules/auth_saml/app/components/saml/providers/sections/metadata_form_component.html.erb
+++ b/modules/auth_saml/app/components/saml/providers/sections/metadata_form_component.html.erb
@@ -30,7 +30,7 @@
flex.with_row(
mt: 2,
hidden: provider.metadata_url.blank?,
- data: { value: :url, 'show-when-value-selected-target': "effect" }
+ data: { value: :url, "show-when-value-selected-target": "effect" }
) do
render(Saml::Providers::MetadataUrlForm.new(form, provider:))
end
@@ -38,7 +38,7 @@
flex.with_row(
mt: 2,
hidden: provider.metadata_xml.blank?,
- data: { value: :xml, 'show-when-value-selected-target': "effect" }
+ data: { value: :xml, "show-when-value-selected-target": "effect" }
) do
render(Saml::Providers::MetadataXmlForm.new(form, provider:))
end
diff --git a/modules/backlogs/app/views/shared/_view_my_settings.html.erb b/modules/backlogs/app/views/shared/_view_my_settings.html.erb
index 8a7d970162a..bead3d8e840 100644
--- a/modules/backlogs/app/views/shared/_view_my_settings.html.erb
+++ b/modules/backlogs/app/views/shared/_view_my_settings.html.erb
@@ -30,11 +30,11 @@ See COPYRIGHT and LICENSE files for more details.
<fieldset class="form--fieldset">
<legend class="form--fieldset-legend"><%= t(:label_backlogs) %></legend>
<div class="form--field">
- <%= styled_label_tag :backlogs_task_color, t(:'backlogs.task_color') %>
- <%= styled_text_field_tag :'backlogs[task_color]', color, container_class: "-middle" %>
+ <%= styled_label_tag :backlogs_task_color, t(:"backlogs.task_color") %>
+ <%= styled_text_field_tag :"backlogs[task_color]", color, container_class: "-middle" %>
</div>
<div class="form--field">
<%= styled_label_tag :backlogs_versions_default_fold_state, I18n.t("backlogs.label_versions_default_fold_state") %>
- <%= styled_check_box_tag :'backlogs[versions_default_fold_state]', "closed", versions_default_fold_state == "closed" %>
+ <%= styled_check_box_tag :"backlogs[versions_default_fold_state]", "closed", versions_default_fold_state == "closed" %>
</div>
</fieldset>
diff --git a/modules/boards/app/views/boards/boards/_form.html.erb b/modules/boards/app/views/boards/boards/_form.html.erb
index b72e4aa633e..0a35aced98c 100644
--- a/modules/boards/app/views/boards/boards/_form.html.erb
+++ b/modules/boards/app/views/boards/boards/_form.html.erb
@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "project_id",
class: "form--select-container -wide remote-field--input",
data: {
- 'test-selector': "project_id"
+ "test-selector": "project_id"
} %>
</div>
</div>
diff --git a/modules/budgets/app/views/budgets/items/_labor_budget_item.html.erb b/modules/budgets/app/views/budgets/items/_labor_budget_item.html.erb
index b4f81209c2e..970cd2c398f 100644
--- a/modules/budgets/app/views/budgets/items/_labor_budget_item.html.erb
+++ b/modules/budgets/app/views/budgets/items/_labor_budget_item.html.erb
@@ -60,7 +60,7 @@ See COPYRIGHT and LICENSE files for more details.
placeholder: t(:label_example_placeholder, decimal: unitless_currency_number(1000.50)),
class: "budget-item-value form--text-field",
data: {
- 'request-key': "hours",
+ "request-key": "hours",
action: "keyup->costs--budget-subform#valueChanged"
} %>
</div>
@@ -75,7 +75,7 @@ See COPYRIGHT and LICENSE files for more details.
index: id_or_index,
class: "form--select budget-item-value",
data: {
- 'request-key': "user_id",
+ "request-key": "user_id",
action: "change->costs--budget-subform#valueChanged"
}
} %>
diff --git a/modules/budgets/app/views/budgets/items/_material_budget_item.html.erb b/modules/budgets/app/views/budgets/items/_material_budget_item.html.erb
index 02b470f2b51..ef6b78a49cc 100644
--- a/modules/budgets/app/views/budgets/items/_material_budget_item.html.erb
+++ b/modules/budgets/app/views/budgets/items/_material_budget_item.html.erb
@@ -60,7 +60,7 @@ See COPYRIGHT and LICENSE files for more details.
placeholder: t(:label_example_placeholder, decimal: unitless_currency_number(1000.50)),
class: "budget-item-value form--text-field",
data: {
- 'request-key': "units",
+ "request-key": "units",
action: "keyup->costs--budget-subform#valueChanged"
} %>
</div>
@@ -78,7 +78,7 @@ See COPYRIGHT and LICENSE files for more details.
index: id_or_index,
class: "form--select budget-item-value",
data: {
- 'request-key': "cost_type_id",
+ "request-key": "cost_type_id",
action: "change->costs--budget-subform#valueChanged"
}
} %>
diff --git a/modules/budgets/app/views/budgets/new.html.erb b/modules/budgets/app/views/budgets/new.html.erb
index 84a96dc5261..ca11db58f25 100644
--- a/modules/budgets/app/views/budgets/new.html.erb
+++ b/modules/budgets/app/views/budgets/new.html.erb
@@ -45,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.
as: :budget,
html: { multipart: true, id: "budget_form" } do |f| %>
<%= render partial: "form", locals: { f: f } %>
- <%= styled_button_tag t(:button_create), class: "-with-icon icon-checkmark", 'data-test-selector': "budgets-create-button" %>
+ <%= styled_button_tag t(:button_create), class: "-with-icon icon-checkmark", "data-test-selector": "budgets-create-button" %>
<%= styled_button_tag t(:button_create_and_continue), name: "continue",
class: "button -primary" %>
<% end %>
diff --git a/modules/calendar/app/views/calendar/calendars/_form.html.erb b/modules/calendar/app/views/calendar/calendars/_form.html.erb
index 3f456333c29..f5b6007d19e 100644
--- a/modules/calendar/app/views/calendar/calendars/_form.html.erb
+++ b/modules/calendar/app/views/calendar/calendars/_form.html.erb
@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "project_id",
class: "form--select-container -wide remote-field--input",
data: {
- 'test-selector': "project_id"
+ "test-selector": "project_id"
} %>
</div>
<div class="form--field-instructions">
diff --git a/modules/costs/app/views/cost_types/_rate.html.erb b/modules/costs/app/views/cost_types/_rate.html.erb
index 77392a28bc7..e6b9a4966bd 100644
--- a/modules/costs/app/views/cost_types/_rate.html.erb
+++ b/modules/costs/app/views/cost_types/_rate.html.erb
@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= content_tag(
:tr,
id: id_prefix,
- data: templated ? { 'row-target': "true" } : {},
+ data: templated ? { "row-target": "true" } : {},
style: templated ? "display: none;" : ""
) do %>
<td class="-no-ellipsis">
diff --git a/modules/costs/app/views/cost_types/edit.html.erb b/modules/costs/app/views/cost_types/edit.html.erb
index 37dfeb05875..3bc92ce237b 100644
--- a/modules/costs/app/views/cost_types/edit.html.erb
+++ b/modules/costs/app/views/cost_types/edit.html.erb
@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.
%>
<%= labelled_tabular_form_for @cost_type,
- data: { controller: "subform", 'application-target': "dynamic" } do |f| %>
+ data: { controller: "subform", "application-target": "dynamic" } do |f| %>
<%= error_messages_for "cost_type" %>
<%= back_url_hidden_field_tag %>
diff --git a/modules/costs/app/views/cost_types/index.html.erb b/modules/costs/app/views/cost_types/index.html.erb
index 887aaa521b0..4b05394478a 100644
--- a/modules/costs/app/views/cost_types/index.html.erb
+++ b/modules/costs/app/views/cost_types/index.html.erb
@@ -58,7 +58,7 @@ See COPYRIGHT and LICENSE files for more details.
<legend><%= t(:label_filter_plural) %></legend>
<ul class="simple-filters--filters">
<li class="simple-filters--filter">
- <%= styled_label_tag :fixed_date, t(:'attributes.fixed_date'), class: "simple-filters--filter-name" %>
+ <%= styled_label_tag :fixed_date, t(:"attributes.fixed_date"), class: "simple-filters--filter-name" %>
<div class='simple-filters--filter-value'>
<%= angular_component_tag "opce-basic-single-date-picker",
inputs: {
diff --git a/modules/costs/app/views/costlog/edit.html.erb b/modules/costs/app/views/costlog/edit.html.erb
index b463e8b2641..4c548797fb3 100644
--- a/modules/costs/app/views/costlog/edit.html.erb
+++ b/modules/costs/app/views/costlog/edit.html.erb
@@ -45,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= labelled_tabular_form_for @cost_entry, url: url, html: { method: method } do |f| %>
<%= error_messages_for "cost_entry" %>
<%= back_url_hidden_field_tag %>
- <%= f.hidden_field :element_id, value: "cost_entry", class: "remote-field--input", data: { 'remote-field-key': "element_id" } %>
+ <%= f.hidden_field :element_id, value: "cost_entry", class: "remote-field--input", data: { "remote-field-key": "element_id" } %>
<div class="form--field -required">
<%= f.text_field :work_package_id,
@@ -63,7 +63,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field -required">
<%= f.date_picker :spent_on,
required: true,
- data: { 'remote-field-key': "fixed_date" } %>
+ data: { "remote-field-key": "fixed_date" } %>
<label for="cost_entry_spent_on" class="hidden-for-sighted"><%= t(:label_date) %> <%= t(:text_hint_date_format) %></label>
</div>
<% if User.current.allowed_in_project? :log_costs, @project %>
@@ -87,7 +87,7 @@ See COPYRIGHT and LICENSE files for more details.
{
required: true,
class: "remote-field--input",
- data: { 'remote-field-key': "cost_type_id" }
+ data: { "remote-field-key": "cost_type_id" }
} %></p>
</div>
<div class="form--field -required">
@@ -106,7 +106,7 @@ See COPYRIGHT and LICENSE files for more details.
suffix: h(suffix),
suffix_id: "cost_entry_unit_name",
class: "remote-field--input",
- data: { 'remote-field-key': "units" },
+ data: { "remote-field-key": "units" },
container_class: "-slim" %>
<% end %>
</div>
diff --git a/modules/costs/app/views/hourly_rates/_rate.html.erb b/modules/costs/app/views/hourly_rates/_rate.html.erb
index d7a42ba94b3..30823dcd3e0 100644
--- a/modules/costs/app/views/hourly_rates/_rate.html.erb
+++ b/modules/costs/app/views/hourly_rates/_rate.html.erb
@@ -41,7 +41,7 @@ See COPYRIGHT and LICENSE files for more details.
:tr,
class: "subform-row",
id: id_prefix,
- data: templated ? { 'row-target': "true" } : {},
+ data: templated ? { "row-target": "true" } : {},
style: templated ? "display: none;" : ""
) do %>
<td>
diff --git a/modules/costs/app/views/hourly_rates/edit.html.erb b/modules/costs/app/views/hourly_rates/edit.html.erb
index 656551c68d7..6f5ee402c24 100644
--- a/modules/costs/app/views/hourly_rates/edit.html.erb
+++ b/modules/costs/app/views/hourly_rates/edit.html.erb
@@ -55,7 +55,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= labelled_tabular_form_for @user,
url: { action: "update", project_id: @project },
- data: { controller: "subform", 'application-target': "dynamic" },
+ data: { controller: "subform", "application-target": "dynamic" },
method: :put do |f| %>
<%= back_url_hidden_field_tag %>
<%= error_messages_for "user" %>
diff --git a/modules/meeting/app/components/meeting_agenda_items/form_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/form_component.html.erb
index a5b578e86cc..fdf965b49a6 100644
--- a/modules/meeting/app/components/meeting_agenda_items/form_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/form_component.html.erb
@@ -26,7 +26,7 @@
grid.with_area(
:notes,
display: display_notes_input_value,
- data: { 'meeting-agenda-item-form-target': "notesInput" }
+ data: { "meeting-agenda-item-form-target": "notesInput" }
) do
render(MeetingAgendaItem::Notes.new(f))
end
@@ -39,7 +39,7 @@
scheme: :secondary,
tag: :a,
href: @cancel_path,
- data: { 'turbo-stream': true }
+ data: { "turbo-stream": true }
)
) do |_c|
t("button_cancel")
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index fd4932c8b8c..c5aa4cc412f 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -2,7 +2,7 @@
component_wrapper do
grid_layout("op-meeting-agenda-item", tag: :div, id: "item-#{@meeting_agenda_item.id}") do |grid|
if drag_and_drop_enabled?
- grid.with_area(:'drag-handle', tag: :div, classes: "hide-when-print") do
+ grid.with_area(:"drag-handle", tag: :div, classes: "hide-when-print") do
render(Primer::OpenProject::DragHandle.new(classes: "handle"))
end
end
@@ -60,7 +60,7 @@
render(Primer::Alpha::ActionMenu.new) do |menu|
menu.with_show_button(
icon: "kebab-horizontal",
- 'aria-label': I18n.t(:label_agenda_item_actions),
+ "aria-label": I18n.t(:label_agenda_item_actions),
scheme: :invisible,
ml: 2,
test_selector: "op-meeting-agenda-actions"
diff --git a/modules/meeting/app/components/meeting_sections/header_component.html.erb b/modules/meeting/app/components/meeting_sections/header_component.html.erb
index 4ccf9b924c2..fb0f49642a3 100644
--- a/modules/meeting/app/components/meeting_sections/header_component.html.erb
+++ b/modules/meeting/app/components/meeting_sections/header_component.html.erb
@@ -2,7 +2,7 @@
component_wrapper(class: "op-meeting-section-container", data: wrapper_data_attributes) do
if @state == :show
grid_layout("op-meeting-section", tag: :div) do |grid|
- grid.with_area(:'drag-handle', tag: :div, classes: "hide-when-print") do
+ grid.with_area(:"drag-handle", tag: :div, classes: "hide-when-print") do
if editable?
render(Primer::OpenProject::DragHandle.new(classes: "handle"))
end
@@ -22,7 +22,7 @@
grid.with_area(:actions, tag: :div, justify_self: :end, classes: "hide-when-print") do
if editable?
render(Primer::Alpha::ActionMenu.new(data: { test_selector: "meeting-section-action-menu" })) do |menu|
- menu.with_show_button(icon: "kebab-horizontal", 'aria-label': t("settings.project_attributes.label_section_actions"), scheme: :invisible)
+ menu.with_show_button(icon: "kebab-horizontal", "aria-label": t("settings.project_attributes.label_section_actions"), scheme: :invisible)
edit_action_item(menu)
unless first? && last?
menu.with_divider
@@ -63,7 +63,7 @@
scheme: :secondary,
tag: :a,
href: cancel_edit_meeting_section_path(@meeting_section.meeting, @meeting_section),
- data: { 'turbo-stream': true }
+ data: { "turbo-stream": true }
)
) do |_c|
t("button_cancel")
diff --git a/modules/meeting/app/components/meeting_sections/show_component.html.erb b/modules/meeting/app/components/meeting_sections/show_component.html.erb
index e616d9f6062..7795c5ec196 100644
--- a/modules/meeting/app/components/meeting_sections/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_sections/show_component.html.erb
@@ -7,7 +7,7 @@
end
end
if render_new_button_in_section?
- component.with_row(data: { 'empty-list-item': true }) do
+ component.with_row(data: { "empty-list-item": true }) do
flex_layout(align_items: :center, justify_content: :space_between, classes: "hide-when-print") do |empty_list_container|
empty_list_container.with_column(mr: 2) do
render(Primer::Beta::Text.new(color: :subtle)) { t("meeting_section.empty_text") }
diff --git a/modules/meeting/app/components/meetings/header_component.html.erb b/modules/meeting/app/components/meetings/header_component.html.erb
index c449d683f7f..5dbe9ac397c 100644
--- a/modules/meeting/app/components/meetings/header_component.html.erb
+++ b/modules/meeting/app/components/meetings/header_component.html.erb
@@ -61,7 +61,7 @@
label: t("label_meeting_edit_title"),
href: edit_meeting_path(@meeting),
content_arguments: {
- data: { 'turbo-stream': true }
+ data: { "turbo-stream": true }
}
) do |item|
item.with_leading_visual_icon(icon: :pencil)
diff --git a/modules/meeting/app/components/meetings/index/dialog_component.html.erb b/modules/meeting/app/components/meetings/index/dialog_component.html.erb
index 72e535242c7..6513667bd61 100644
--- a/modules/meeting/app/components/meetings/index/dialog_component.html.erb
+++ b/modules/meeting/app/components/meetings/index/dialog_component.html.erb
@@ -4,7 +4,7 @@
id: "new-meeting-dialog",
title:,
size: :medium_portrait,
- data: { 'keep-open-on-submit': true }
+ data: { "keep-open-on-submit": true }
)
) do |dialog|
dialog.with_header(variant: :large)
@@ -22,7 +22,7 @@
component_collection do |modal_footer|
modal_footer.with_component(
Primer::ButtonComponent.new(
- data: { 'close-dialog-id': "new-meeting-dialog" }
+ data: { "close-dialog-id": "new-meeting-dialog" }
)
) do
I18n.t(:button_cancel)
diff --git a/modules/meeting/app/components/meetings/side_panel/details_component.html.erb b/modules/meeting/app/components/meetings/side_panel/details_component.html.erb
index 465a9b5283a..15acf71d82a 100644
--- a/modules/meeting/app/components/meetings/side_panel/details_component.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/details_component.html.erb
@@ -22,7 +22,7 @@
href:,
classes: "hide-when-print",
data: { controller: "async-dialog" },
- 'aria-label': t(:label_meeting_details_edit),
+ "aria-label": t(:label_meeting_details_edit),
test_selector: "edit-meeting-details-button",
)
end
diff --git a/modules/meeting/app/components/meetings/side_panel/details_form_component.html.erb b/modules/meeting/app/components/meetings/side_panel/details_form_component.html.erb
index e14c838f4dd..b5310602cff 100644
--- a/modules/meeting/app/components/meetings/side_panel/details_form_component.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/details_form_component.html.erb
@@ -29,7 +29,7 @@
collection.with_component(Primer::Alpha::Dialog::Footer.new) do
component_collection do |modal_footer|
- modal_footer.with_component(Primer::ButtonComponent.new(data: { 'close-dialog-id': "edit-meeting-details-dialog" })) do
+ modal_footer.with_component(Primer::ButtonComponent.new(data: { "close-dialog-id": "edit-meeting-details-dialog" })) do
t("button_cancel")
end
diff --git a/modules/meeting/app/components/meetings/side_panel/participants_component.html.erb b/modules/meeting/app/components/meetings/side_panel/participants_component.html.erb
index 90bfa3dfb57..8b8a6220ccc 100644
--- a/modules/meeting/app/components/meetings/side_panel/participants_component.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/participants_component.html.erb
@@ -16,7 +16,7 @@
href: participants_dialog_meeting_path(@meeting),
classes: "hide-when-print",
data: { controller: "async-dialog" },
- 'aria-label': t("label_meeting_manage_participants"),
+ "aria-label": t("label_meeting_manage_participants"),
test_selector: "manage-participants-button",
)
end
diff --git a/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb b/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
index 8b0fc65b46e..c2b0096a566 100644
--- a/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/participants_dialog.html.erb
@@ -135,7 +135,7 @@
if @meeting.editable?
d.with_footer do
component_collection do |footer|
- footer.with_component(Primer::ButtonComponent.new(data: { 'close-dialog-id': "edit-participants-dialog" })) do
+ footer.with_component(Primer::ButtonComponent.new(data: { "close-dialog-id": "edit-participants-dialog" })) do
t("button_cancel")
end
footer.with_component(
diff --git a/modules/meeting/app/components/meetings/side_panel/state_component.html.erb b/modules/meeting/app/components/meetings/side_panel/state_component.html.erb
index d051cd7c136..6f112e0f7b2 100644
--- a/modules/meeting/app/components/meetings/side_panel/state_component.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/state_component.html.erb
@@ -26,7 +26,7 @@
tag: :a,
href: change_state_meeting_path(@meeting, state: "closed"),
classes: "hide-when-print",
- data: { 'turbo-stream': true, 'turbo-method': "put" },
+ data: { "turbo-stream": true, "turbo-method": "put" },
test_selector: "close-meeting-button"
) do |button|
button.with_leading_visual_icon(icon: :unlock)
@@ -57,7 +57,7 @@
tag: :a,
href: change_state_meeting_path(@meeting, state: "open"),
classes: "hide-when-print",
- data: { 'turbo-stream': true, 'turbo-method': "put" }
+ data: { "turbo-stream": true, "turbo-method": "put" }
) do |button|
button.with_leading_visual_icon(icon: :unlock)
t("label_meeting_reopen_action")
diff --git a/modules/meeting/app/components/recurring_meetings/show_page_header_component.html.erb b/modules/meeting/app/components/recurring_meetings/show_page_header_component.html.erb
index 2bc3cd75c0d..818553b3637 100644
--- a/modules/meeting/app/components/recurring_meetings/show_page_header_component.html.erb
+++ b/modules/meeting/app/components/recurring_meetings/show_page_header_component.html.erb
@@ -26,7 +26,7 @@
content_arguments: {
data: { controller: "async-dialog" },
},
- 'aria-label': t(:label_recurring_meeting_series_edit),
+ "aria-label": t(:label_recurring_meeting_series_edit),
test_selector: "edit-meeting-details-button",
) do |item|
item.with_leading_visual_icon(icon: :pencil)
diff --git a/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_dialog_component.html.erb b/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_dialog_component.html.erb
index 86bfcb94e5d..c11239c337c 100644
--- a/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_dialog_component.html.erb
+++ b/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_dialog_component.html.erb
@@ -20,7 +20,7 @@
buttons.with_component(
Primer::ButtonComponent.new(
data: {
- 'close-dialog-id': "add-work-package-to-meeting-dialog"
+ "close-dialog-id": "add-work-package-to-meeting-dialog"
}
)
) do
diff --git a/modules/meeting/app/views/meeting_contents/_show.html.erb b/modules/meeting/app/views/meeting_contents/_show.html.erb
index f85c74fcbab..534d4fe337c 100644
--- a/modules/meeting/app/views/meeting_contents/_show.html.erb
+++ b/modules/meeting/app/views/meeting_contents/_show.html.erb
@@ -69,7 +69,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= list_attachments(
resource,
data: {
- 'meeting-content-target': "attachments"
+ "meeting-content-target": "attachments"
}
) %>
<% end %>
diff --git a/modules/meeting/app/views/meeting_contents/history.html.erb b/modules/meeting/app/views/meeting_contents/history.html.erb
index 8179bda0acc..261849c3f42 100644
--- a/modules/meeting/app/views/meeting_contents/history.html.erb
+++ b/modules/meeting/app/views/meeting_contents/history.html.erb
@@ -112,7 +112,7 @@ See COPYRIGHT and LICENSE files for more details.
(index == 0),
class: "meetings--checkbox-version-to",
data: {
- 'journal-history-target': "fromVersion",
+ "journal-history-target": "fromVersion",
action: "journal-history#selectToVersion"
}
) %>
@@ -126,7 +126,7 @@ See COPYRIGHT and LICENSE files for more details.
content_version.version,
(index == 1),
data: {
- 'journal-history-target': "toVersion",
+ "journal-history-target": "toVersion",
action: "journal-history#selectFromVersion"
}
) %>
diff --git a/modules/meeting/app/views/meeting_mailer/invited.html.erb b/modules/meeting/app/views/meeting_mailer/invited.html.erb
index 3537e10ec1f..c21ecf63708 100644
--- a/modules/meeting/app/views/meeting_mailer/invited.html.erb
+++ b/modules/meeting/app/views/meeting_mailer/invited.html.erb
@@ -106,7 +106,7 @@ See COPYRIGHT and LICENSE files for more details.
</table>
<%= action_button do %>
- <%= link_to I18n.t(:'meeting.email.open_meeting_link'),
+ <%= link_to I18n.t(:"meeting.email.open_meeting_link"),
meeting_url(@meeting),
target: "_blank",
style: "color: #333333; text-decoration: none; font-size: 14px;white-space: nowrap;" %>
diff --git a/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb b/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
index 68dcb7bb5cd..9a03fe20e30 100644
--- a/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
+++ b/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
@@ -56,7 +56,7 @@ See COPYRIGHT and LICENSE files for more details.
<td style="<%= placeholder_text_styles(width: "30%") %>">
<%= t("meeting.email.rescheduled.new_date_time") %>
</td>
- <td style="<%= placeholder_text_styles('font-weight': "bold") %>">
+ <td style="<%= placeholder_text_styles("font-weight": "bold") %>">
<%= format_time_as_date @changes[:new_start] %> <%= format_time @changes[:new_start], include_date: false %>
-
<%= format_time (@changes[:new_start] + @changes[:new_duration].hours), include_date: false %> (<%= formatted_time_zone_offset %>)
@@ -118,7 +118,7 @@ See COPYRIGHT and LICENSE files for more details.
</table>
<%= action_button do %>
- <%= link_to I18n.t(:'meeting.email.open_meeting_link'),
+ <%= link_to I18n.t(:"meeting.email.open_meeting_link"),
meeting_url(@meeting),
target: "_blank",
style: "color: #333333; text-decoration: none; font-size: 14px;white-space: nowrap;" %>
diff --git a/modules/meeting/app/views/meeting_series_mailer/template_completed.html.erb b/modules/meeting/app/views/meeting_series_mailer/template_completed.html.erb
index db78c3743da..7d0a08b97cd 100644
--- a/modules/meeting/app/views/meeting_series_mailer/template_completed.html.erb
+++ b/modules/meeting/app/views/meeting_series_mailer/template_completed.html.erb
@@ -107,7 +107,7 @@ See COPYRIGHT and LICENSE files for more details.
</table>
<%= action_button do %>
- <%= link_to I18n.t(:'meeting.email.open_meeting_link'),
+ <%= link_to I18n.t(:"meeting.email.open_meeting_link"),
recurring_meeting_url(@series),
target: "_blank",
style: "color: #333333; text-decoration: none; font-size: 14px;white-space: nowrap;" %>
diff --git a/modules/meeting/app/views/meetings/_form.html.erb b/modules/meeting/app/views/meetings/_form.html.erb
index 823d6e71884..333a5b1e16e 100644
--- a/modules/meeting/app/views/meetings/_form.html.erb
+++ b/modules/meeting/app/views/meetings/_form.html.erb
@@ -84,7 +84,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "project_id",
class: "form--select-container -wide remote-field--input",
data: {
- 'test-selector': "project_id"
+ "test-selector": "project_id"
} %>
</div>
</div>
diff --git a/modules/meeting/app/views/meetings/history.html.erb b/modules/meeting/app/views/meetings/history.html.erb
index 3182f91b1c2..ac6507612f3 100644
--- a/modules/meeting/app/views/meetings/history.html.erb
+++ b/modules/meeting/app/views/meetings/history.html.erb
@@ -2,7 +2,7 @@
"turbo-frame",
id: "meetings-history-dialog-frame",
class: "Overlay-form",
- data: { 'op-turbo-op-primer-async-dialog-target': "frameElement" }
+ data: { "op-turbo-op-primer-async-dialog-target": "frameElement" }
) do
render(Primer::Alpha::Dialog::Body.new) do
render(Activities::DaysComponent.new(events: @events, current_project: @project, activity_page: @activity_page))
diff --git a/modules/meeting/app/views/meetings/new.html.erb b/modules/meeting/app/views/meetings/new.html.erb
index 0e0c4e3e2f9..1ea14428b71 100644
--- a/modules/meeting/app/views/meetings/new.html.erb
+++ b/modules/meeting/app/views/meetings/new.html.erb
@@ -62,8 +62,8 @@ See COPYRIGHT and LICENSE files for more details.
data: {
turbo: false,
controller: "refresh-on-form-changes",
- 'refresh-on-form-changes-target': "form",
- 'refresh-on-form-changes-turbo-stream-url-value': new_meeting_url
+ "refresh-on-form-changes-target": "form",
+ "refresh-on-form-changes-turbo-stream-url-value": new_meeting_url
}
} do |f| -%>
<%= render partial: "form", locals: { f:, copy_from: } %>
diff --git a/modules/openid_connect/app/components/openid_connect/providers/sections/metadata_form_component.html.erb b/modules/openid_connect/app/components/openid_connect/providers/sections/metadata_form_component.html.erb
index d628fd03d1c..8683883a339 100644
--- a/modules/openid_connect/app/components/openid_connect/providers/sections/metadata_form_component.html.erb
+++ b/modules/openid_connect/app/components/openid_connect/providers/sections/metadata_form_component.html.erb
@@ -38,7 +38,7 @@
flex.with_row(
mt: 2,
hidden: provider.metadata_url.blank?,
- data: { value: :url, 'show-when-value-selected-target': "effect" }
+ data: { value: :url, "show-when-value-selected-target": "effect" }
) do
render(OpenIDConnect::Providers::MetadataUrlForm.new(form, provider:))
end
diff --git a/modules/overviews/app/components/project_custom_fields/sections/edit_dialog_component.html.erb b/modules/overviews/app/components/project_custom_fields/sections/edit_dialog_component.html.erb
index d30c5fd5c3b..1c4859b33cb 100644
--- a/modules/overviews/app/components/project_custom_fields/sections/edit_dialog_component.html.erb
+++ b/modules/overviews/app/components/project_custom_fields/sections/edit_dialog_component.html.erb
@@ -15,7 +15,7 @@
footer_collection.with_component(
Primer::ButtonComponent.new(
data: {
- 'close-dialog-id': "edit-project-custom-fields-dialog-#{@project_custom_field_section.id}"
+ "close-dialog-id": "edit-project-custom-fields-dialog-#{@project_custom_field_section.id}"
}
)
) do
diff --git a/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.html.erb b/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.html.erb
index 1c876cb7e2f..be4ea6051aa 100644
--- a/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.html.erb
+++ b/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.html.erb
@@ -7,16 +7,16 @@
method: form_method,
data: {
controller: "storages--automatically-managed-project-folders-form",
- 'application-target': "dynamic",
- 'storages--automatically-managed-project-folders-form-provider-type-value': storage.provider_type,
- 'storages--automatically-managed-project-folders-form-is-automatically-managed-value': storage.automatic_management_enabled?,
- 'storages--automatically-managed-project-folders-form-done-complete-label-value': I18n.t("storages.buttons.done_complete_setup"),
- 'storages--automatically-managed-project-folders-form-done-complete-without-label-value': I18n.t("storages.buttons.complete_without_setup"),
+ "application-target": "dynamic",
+ "storages--automatically-managed-project-folders-form-provider-type-value": storage.provider_type,
+ "storages--automatically-managed-project-folders-form-is-automatically-managed-value": storage.automatic_management_enabled?,
+ "storages--automatically-managed-project-folders-form-done-complete-label-value": I18n.t("storages.buttons.done_complete_setup"),
+ "storages--automatically-managed-project-folders-form-done-complete-without-label-value": I18n.t("storages.buttons.complete_without_setup"),
}
) do |form|
flex_layout do |project_folders_form|
project_folders_form.with_row(mb: 3) do
- render(Primer::Beta::Text.new(font_weight: :bold)) { I18n.t(:'storages.label_managed_project_folders.automatically_managed_folders') }
+ render(Primer::Beta::Text.new(font_weight: :bold)) { I18n.t(:"storages.label_managed_project_folders.automatically_managed_folders") }
end
project_folders_form.with_row(mb: 3) do
@@ -29,7 +29,7 @@
project_folders_form.with_row(
mb: 3,
- data: { 'storages--automatically-managed-project-folders-form-target': "applicationPasswordInput" },
+ data: { "storages--automatically-managed-project-folders-form-target": "applicationPasswordInput" },
**application_password_display_options
) do
render(Storages::Admin::ManagedProjectFolders::ApplicationPasswordInput.new(form, storage:))
diff --git a/modules/storages/app/components/storages/admin/storage_row_component.html.erb b/modules/storages/app/components/storages/admin/storage_row_component.html.erb
index 2f4a797187e..a627044cfff 100644
--- a/modules/storages/app/components/storages/admin/storage_row_component.html.erb
+++ b/modules/storages/app/components/storages/admin/storage_row_component.html.erb
@@ -1,7 +1,7 @@
<%=
grid_layout("op-storage-list--row", tag: :div, align_items: :center) do |grid|
grid.with_area(:name, tag: :div, mr: 3, classes: "ellipsis") do
- concat(render(Primer::Beta::Link.new(href: url_helpers.edit_admin_settings_storage_path(storage), font_weight: :bold, mr: 1, data: { 'test-selector': "storage-name" })) { storage.name })
+ concat(render(Primer::Beta::Link.new(href: url_helpers.edit_admin_settings_storage_path(storage), font_weight: :bold, mr: 1, data: { "test-selector": "storage-name" })) { storage.name })
unless storage.configured?
concat(render(Primer::Beta::Label.new(scheme: :attention, test_selector: "label-incomplete")) { I18n.t(:label_incomplete) })
@@ -12,15 +12,15 @@
end
end
- grid.with_area(:host, tag: :div, mr: 3, color: :subtle, data: { 'test-selector': "storage-host" }, classes: "ellipsis") do
+ grid.with_area(:host, tag: :div, mr: 3, color: :subtle, data: { "test-selector": "storage-host" }, classes: "ellipsis") do
render(Primer::Beta::Truncate.new(font_weight: :light)) { storage.host }
end
- grid.with_area(:user, tag: :div, color: :subtle, mr: 3, font_weight: :light, data: { 'test-selector': "storage-creator" }, classes: "ellipsis") do
+ grid.with_area(:user, tag: :div, color: :subtle, mr: 3, font_weight: :light, data: { "test-selector": "storage-creator" }, classes: "ellipsis") do
render(Users::AvatarComponent.new(user: storage.creator, size: :mini, link: false, show_name: true, name_classes: "hidden-for-tablet-and-small-laptops"))
end
- grid.with_area(:provider, tag: :div, color: :subtle, mr: 3, hide: :sm, data: { 'test-selector': "storage-provider" }) do
+ grid.with_area(:provider, tag: :div, color: :subtle, mr: 3, hide: :sm, data: { "test-selector": "storage-provider" }) do
render(Primer::Beta::Truncate.new(font_weight: :light)) { I18n.t("storages.provider_types.#{storage}.name") }
end
diff --git a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb
index b459c0f27b3..7f69a514bd8 100644
--- a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb
+++ b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb
@@ -5,10 +5,10 @@
id: dialog_id,
title: heading_text,
data: {
- 'application-target': "dynamic",
+ "application-target": "dynamic",
controller: "storages--oauth-access-grant-nudge-modal",
- 'storages--oauth-access-grant-nudge-modal-close-button-label-value': I18n.t("button_close"),
- 'storages--oauth-access-grant-nudge-modal-loading-screen-reader-message-value': waiting_title,
+ "storages--oauth-access-grant-nudge-modal-close-button-label-value": I18n.t("button_close"),
+ "storages--oauth-access-grant-nudge-modal-loading-screen-reader-message-value": waiting_title,
},
test_selector: "oauth-access-grant-nudge-modal",
size: :large
@@ -19,7 +19,7 @@
role: :alert,
aria: { live: :assertive },
data: {
- 'storages--oauth-access-grant-nudge-modal-target': "header"
+ "storages--oauth-access-grant-nudge-modal-target": "header"
},
visually_hide_title: true
)
@@ -33,7 +33,7 @@
Primer::Beta::Text.new(
display: :none,
data: {
- 'storages--oauth-access-grant-nudge-modal-target': "loadingIndicator"
+ "storages--oauth-access-grant-nudge-modal-target": "loadingIndicator"
}
)
) { render(Storages::OpenProjectStorageModalComponent::Body.new(:waiting, waiting_title:)) }
@@ -59,8 +59,8 @@
scheme: :default,
size: :medium,
data: {
- 'close-dialog-id': dialog_id,
- 'storages--oauth-access-grant-nudge-modal-target': "closeButton"
+ "close-dialog-id": dialog_id,
+ "storages--oauth-access-grant-nudge-modal-target": "closeButton"
}
)
) { cancel_button_text }
@@ -72,7 +72,7 @@
url: confirm_button_url,
method: :get,
data: {
- 'storages--oauth-access-grant-nudge-modal-target': "requestAccessForm"
+ "storages--oauth-access-grant-nudge-modal-target": "requestAccessForm"
}
) do |_form|
render(
@@ -82,7 +82,7 @@
type: :submit,
aria: { label: login_button_aria_label },
data: {
- 'storages--oauth-access-grant-nudge-modal-target': "requestAccessButton",
+ "storages--oauth-access-grant-nudge-modal-target": "requestAccessButton",
action: "storages--oauth-access-grant-nudge-modal#requestAccess"
}
)
diff --git a/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.html.erb b/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.html.erb
index 150a51659c6..fd3e5c3201e 100644
--- a/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.html.erb
+++ b/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.html.erb
@@ -71,10 +71,10 @@ See COPYRIGHT and LICENSE files for more details.
data: {
"application-target": "dynamic",
controller: "storages--project-folder-mode-form",
- 'storages--project-folder-mode-form-folder-mode-value': @project_storage.project_folder_mode,
- 'storages--project-folder-mode-form-placeholder-folder-name-value': t(:"storages.label_no_selected_folder"),
- 'storages--project-folder-mode-form-not-logged-in-validation-value': t(:"storages.instructions.not_logged_into_storage"),
- 'storages--project-folder-mode-form-last-project-folders-value': @last_project_folders
+ "storages--project-folder-mode-form-folder-mode-value": @project_storage.project_folder_mode,
+ "storages--project-folder-mode-form-placeholder-folder-name-value": t(:"storages.label_no_selected_folder"),
+ "storages--project-folder-mode-form-not-logged-in-validation-value": t(:"storages.instructions.not_logged_into_storage"),
+ "storages--project-folder-mode-form-last-project-folders-value": @last_project_folders
}
) do
render(Storages::Admin::ProjectStorages::ProjectFolderModeForm.new(form, project_storage:))
@@ -85,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.
concat(
render(Primer::Alpha::Dialog::Footer.new(show_divider: false)) do
- concat(render(Primer::ButtonComponent.new(data: { 'close-dialog-id': dialog_id })) { cancel_button_text })
+ concat(render(Primer::ButtonComponent.new(data: { "close-dialog-id": dialog_id })) { cancel_button_text })
concat(render(Primer::ButtonComponent.new(scheme: :primary, type: :submit)) { submit_button_text })
end
)
diff --git a/modules/storages/app/views/storages/admin/storages/_new.html.erb b/modules/storages/app/views/storages/admin/storages/_new.html.erb
index 4d6e708b703..f53eedc37c6 100644
--- a/modules/storages/app/views/storages/admin/storages/_new.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/_new.html.erb
@@ -29,8 +29,8 @@ See COPYRIGHT and LICENSE files for more details.
<% content_controller "storages--storage-form",
dynamic: true,
- 'storages--storage-form-one-drive-placeholder-value': t(:"storages.provider_types.one_drive.name_placeholder"),
- 'storages--storage-form-nextcloud-placeholder-value': t(:"storages.provider_types.nextcloud.name_placeholder") %>
+ "storages--storage-form-one-drive-placeholder-value": t(:"storages.provider_types.one_drive.name_placeholder"),
+ "storages--storage-form-nextcloud-placeholder-value": t(:"storages.provider_types.nextcloud.name_placeholder") %>
<!-- Included form for create and edit operations, please see the controller for comments -->
<%= error_messages_for @storage %>
@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.
container_class: "-slim"
},
data: {
- 'storages--storage-form-target': "selectProviderType"
+ "storages--storage-form-target": "selectProviderType"
} %>
<span class="form--field-instructions"><%= t("storages.instructions.type") %> <%= t("storages.instructions.type_link_text") %></span>
</div>
@@ -56,7 +56,7 @@ See COPYRIGHT and LICENSE files for more details.
placeholder: I18n.t("storages.provider_types.#{@storage}.name_placeholder"),
container_class: "-slim",
data: {
- 'storages--storage-form-target': "storageName"
+ "storages--storage-form-target": "storageName"
} %>
<span class="form--field-instructions"><%= t("storages.instructions.name") %></span>
</div>
diff --git a/modules/storages/app/views/storages/project_settings/_project_folder_form.html.erb b/modules/storages/app/views/storages/project_settings/_project_folder_form.html.erb
index ea17ead56f8..63d73039345 100644
--- a/modules/storages/app/views/storages/project_settings/_project_folder_form.html.erb
+++ b/modules/storages/app/views/storages/project_settings/_project_folder_form.html.erb
@@ -29,10 +29,10 @@ See COPYRIGHT and LICENSE files for more details.
<% content_controller "project-storage-form",
dynamic: true,
- 'project-storage-form-folder-mode-value': @project_storage.project_folder_mode,
- 'project-storage-form-placeholder-folder-name-value': t(:"storages.label_no_selected_folder"),
- 'project-storage-form-not-logged-in-validation-value': t(:"storages.instructions.not_logged_into_storage"),
- 'project-storage-form-last-project-folders-value': @last_project_folders %>
+ "project-storage-form-folder-mode-value": @project_storage.project_folder_mode,
+ "project-storage-form-placeholder-folder-name-value": t(:"storages.label_no_selected_folder"),
+ "project-storage-form-not-logged-in-validation-value": t(:"storages.instructions.not_logged_into_storage"),
+ "project-storage-form-last-project-folders-value": @last_project_folders %>
<div class="form--field -required">
<%= f.label :storage_id, class: "form--label -bold" do %>
@@ -45,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.
:span,
storage.name,
data: {
- 'project-storage-form-target': "storage",
+ "project-storage-form-target": "storage",
storage: {
name: storage.name,
id: storage.id,
@@ -61,7 +61,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= f.hidden_field :project_folder_id,
data: {
- 'project-storage-form-target': "projectFolderIdInput"
+ "project-storage-form-target": "projectFolderIdInput"
} %>
<div class="form--field -required">
@@ -124,7 +124,7 @@ See COPYRIGHT and LICENSE files for more details.
data-project-storage-form-target="projectFolderSection">
<%= styled_button_tag class: "button_no-margin",
data: {
- 'project-storage-form-target': "selectProjectFolderButton",
+ "project-storage-form-target": "selectProjectFolderButton",
action: "project-storage-form#selectProjectFolder"
},
type: "button" do %>
@@ -136,7 +136,7 @@ See COPYRIGHT and LICENSE files for more details.
input: storage_login_input(@project_storage.storage)
},
data: {
- 'project-storage-form-target': "loginButton"
+ "project-storage-form-target": "loginButton"
} %>
<span
data-project-storage-form-target="selectedFolderText">...</span>
@@ -146,7 +146,7 @@ See COPYRIGHT and LICENSE files for more details.
t(:"storages.instructions.empty_project_folder_validation"),
class: "form--field-error -with-bottom-spacing",
data: {
- 'project-storage-form-target': "projectFolderIdValidation"
+ "project-storage-form-target": "projectFolderIdValidation"
} %>
<% end %>
</div>
diff --git a/modules/storages/app/views/storages/project_settings/_toast_all_available_storages_already_added.html.erb b/modules/storages/app/views/storages/project_settings/_toast_all_available_storages_already_added.html.erb
index bcc6ad2bafc..e349313a2ed 100644
--- a/modules/storages/app/views/storages/project_settings/_toast_all_available_storages_already_added.html.erb
+++ b/modules/storages/app/views/storages/project_settings/_toast_all_available_storages_already_added.html.erb
@@ -30,7 +30,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="op-toast -info">
<div class="op-toast--content">
<p>
- <strong><%= t(:'storages.instructions.all_available_storages_already_added') %></strong>
+ <strong><%= t(:"storages.instructions.all_available_storages_already_added") %></strong>
</p>
<p>
<% if User.current.admin? %>
diff --git a/modules/storages/app/views/storages/project_settings/_toast_no_storage_set_up.html.erb b/modules/storages/app/views/storages/project_settings/_toast_no_storage_set_up.html.erb
index 381289e67b5..74793d6b252 100644
--- a/modules/storages/app/views/storages/project_settings/_toast_no_storage_set_up.html.erb
+++ b/modules/storages/app/views/storages/project_settings/_toast_no_storage_set_up.html.erb
@@ -30,7 +30,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="op-toast -info">
<div class="op-toast--content">
<p>
- <strong><%= t(:'storages.instructions.no_storage_set_up') %></strong>
+ <strong><%= t(:"storages.instructions.no_storage_set_up") %></strong>
</p>
<p>
<% if User.current.admin? %>
diff --git a/modules/storages/app/views/storages/project_settings/attachments.html.erb b/modules/storages/app/views/storages/project_settings/attachments.html.erb
index 31255c39771..2dfdb21ec91 100644
--- a/modules/storages/app/views/storages/project_settings/attachments.html.erb
+++ b/modules/storages/app/views/storages/project_settings/attachments.html.erb
@@ -41,13 +41,13 @@ See COPYRIGHT and LICENSE files for more details.
href: new_project_settings_project_storage_path,
scheme: :primary,
mobile_icon: :plus,
- mobile_label: t(:'storages.label_storage'),
+ mobile_label: t(:"storages.label_storage"),
size: :medium,
- aria: { label: t(:'storages.label_new_storage') },
- title: t(:'storages.label_new_storage')
+ aria: { label: t(:"storages.label_new_storage") },
+ title: t(:"storages.label_new_storage")
) do |button|
button.with_leading_visual_icon(icon: :plus)
- t(:'storages.label_storage')
+ t(:"storages.label_storage")
end
header.with_tab_nav(label: nil) do |tab_nav|
tab_nav.with_tab(selected: false, href: external_file_storages_project_settings_project_storages_path) do |tab|
diff --git a/modules/storages/app/views/storages/project_settings/external_file_storages.html.erb b/modules/storages/app/views/storages/project_settings/external_file_storages.html.erb
index c0d354395c3..9577da8c153 100644
--- a/modules/storages/app/views/storages/project_settings/external_file_storages.html.erb
+++ b/modules/storages/app/views/storages/project_settings/external_file_storages.html.erb
@@ -41,13 +41,13 @@ See COPYRIGHT and LICENSE files for more details.
href: new_project_settings_project_storage_path,
scheme: :primary,
mobile_icon: :plus,
- mobile_label: t(:'storages.label_storage'),
+ mobile_label: t(:"storages.label_storage"),
size: :medium,
- aria: { label: t(:'storages.label_new_storage') },
- title: t(:'storages.label_new_storage')
+ aria: { label: t(:"storages.label_new_storage") },
+ title: t(:"storages.label_new_storage")
) do |button|
button.with_leading_visual_icon(icon: :plus)
- t(:'storages.label_storage')
+ t(:"storages.label_storage")
end
header.with_tab_nav(label: nil) do |tab_nav|
tab_nav.with_tab(selected: true, href: external_file_storages_project_settings_project_storages_path) do |tab|
diff --git a/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb b/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb
index 834e2ce37dd..db9f22c07cd 100644
--- a/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb
+++ b/modules/storages/app/views/storages/storages_mailer/notify_healthy.html.erb
@@ -36,7 +36,7 @@ See COPYRIGHT and LICENSE files for more details.
user: @admin,
summary: I18n.t("mail.storages.health.healthy.summary", storage_name: @storage.name),
button_href: @url,
- button_text: I18n.t(:'mail.storages.health.see_storage_settings')
+ button_text: I18n.t(:"mail.storages.health.see_storage_settings")
}
) %>
@@ -54,7 +54,7 @@ See COPYRIGHT and LICENSE files for more details.
partial: "mailer/notification_settings_table",
locals: {
button_url: @url,
- button_text: I18n.t(:'mail.storages.health.email_notification_settings')
+ button_text: I18n.t(:"mail.storages.health.email_notification_settings")
}
) %>
diff --git a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
index f6903b9f7ed..39b181afd06 100644
--- a/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
+++ b/modules/storages/app/views/storages/storages_mailer/notify_unhealthy.html.erb
@@ -36,7 +36,7 @@ See COPYRIGHT and LICENSE files for more details.
user: @admin,
summary: I18n.t("mail.storages.health.unhealthy.summary", storage_name: @storage.name),
button_href: @url,
- button_text: I18n.t(:'mail.storages.health.see_storage_settings')
+ button_text: I18n.t(:"mail.storages.health.see_storage_settings")
}
) %>
@@ -54,7 +54,7 @@ See COPYRIGHT and LICENSE files for more details.
partial: "mailer/notification_settings_table",
locals: {
button_url: @url,
- button_text: I18n.t(:'mail.storages.health.email_notification_settings')
+ button_text: I18n.t(:"mail.storages.health.email_notification_settings")
}
) %>
diff --git a/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb b/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb
index 9892522d113..2f9276567dc 100644
--- a/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb
+++ b/modules/team_planner/app/views/team_planner/team_planner/_form.html.erb
@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.
id: "project_id",
class: "form--select-container -wide remote-field--input",
data: {
- 'test-selector': "project_id"
+ "test-selector": "project_id"
} %>
</div>
<div class="form--field-instructions">
diff --git a/modules/webhooks/app/views/webhooks/outgoing/admin/index.html.erb b/modules/webhooks/app/views/webhooks/outgoing/admin/index.html.erb
index 0fff53659e6..7fd432b73ae 100644
--- a/modules/webhooks/app/views/webhooks/outgoing/admin/index.html.erb
+++ b/modules/webhooks/app/views/webhooks/outgoing/admin/index.html.erb
@@ -29,7 +29,7 @@
<p>
<%= t(
"webhooks.outgoing.explanation.text",
- link: link_to(t(:'webhooks.outgoing.explanation.link'), admin_settings_aggregation_path, target: "_blank")
+ link: link_to(t(:"webhooks.outgoing.explanation.link"), admin_settings_aggregation_path, target: "_blank")
).html_safe %>
</p>