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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
erb_lint auto except rubocop linter
Ivan Kuchin0b1f73ec794f
diff --git a/app/components/add_button_component.html.erb b/app/components/add_button_component.html.erbindex 179a0cf8998..4db39b90dc4 100644--- a/app/components/add_button_component.html.erb+++ b/app/components/add_button_component.html.erb@@ -7,5 +7,4 @@href: dynamic_path) ) do |button|button.with_leading_visual_icon(icon: :plus)label_text-end-%>+end %>diff --git a/app/components/admin/design_header_component.html.erb b/app/components/admin/design_header_component.html.erbindex 7f2a4ba6c52..5dd58b22d93 100644--- a/app/components/admin/design_header_component.html.erb+++ b/app/components/admin/design_header_component.html.erb@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.header.with_breadcrumbs([{ href: admin_index_path, text: t(:label_administration) },t(:label_custom_style)])header.with_description { t(:label_custom_style_description) }-+if @tabs.present?header.with_tab_nav(label: nil) do |tab_nav|@tabs.each do |tab|diff --git a/app/components/individual_principal_base_filter_component.html.erb b/app/components/individual_principal_base_filter_component.html.erbindex 4c7b44a7154..42bae272f63 100644--- a/app/components/individual_principal_base_filter_component.html.erb+++ b/app/components/individual_principal_base_filter_component.html.erb@@ -79,7 +79,7 @@ See COPYRIGHT and LICENSE files for more details.name: "role_id",class: 'simple-filters--filter-value'})- %>+ %></li><% end %><% if has_shares? %>diff --git a/app/components/members/role_form_component.html.erb b/app/components/members/role_form_component.html.erbindex b0b1112f1e7..01567d6f650 100644--- a/app/components/members/role_form_component.html.erb+++ b/app/components/members/role_form_component.html.erb@@ -43,8 +43,7 @@ See COPYRIGHT and LICENSE files for more details.member.roles.include?(role),role.name,disabled: role_disabled?(role),- no_label: true- %>+ no_label: true %><%= role %></label><% end %>diff --git a/app/components/op_primer/border_box_row_component.html.erb b/app/components/op_primer/border_box_row_component.html.erbindex 0b350142c64..51d4e859939 100644--- a/app/components/op_primer/border_box_row_component.html.erb+++ b/app/components/op_primer/border_box_row_component.html.erb@@ -32,7 +32,8 @@ See COPYRIGHT and LICENSE files for more details.tag: :div,id: row_css_id,classes: "#{table.grid_class} #{row_css_class}",- ) do %>+ ) do+%><% columns.each do |column| %><%= render(Primer::BaseComponent.new(tag: :div, classes: grid_column_classes(column), **column_args(column))) do %><% label = mobile_label(column) %>diff --git a/app/components/op_turbo/frame_component.html.erb b/app/components/op_turbo/frame_component.html.erbindex fe5c2885888..1d64f643e36 100644--- a/app/components/op_turbo/frame_component.html.erb+++ b/app/components/op_turbo/frame_component.html.erb@@ -27,11 +27,11 @@ See COPYRIGHT and LICENSE files for more details.++#%><% if options[:lazy] == true %>- <turbo-frame id="<%=turbo_frame_id%>" src="<%= options[:lazy_source] %>" loading="lazy">+ <turbo-frame id="<%= turbo_frame_id %>" src="<%= options[:lazy_source] %>" loading="lazy"><%= content %></turbo-frame><% else %>- <turbo-frame id="<%=turbo_frame_id%>">+ <turbo-frame id="<%= turbo_frame_id %>"><%= content %></turbo-frame><% end %>diff --git a/app/components/open_project/common/attribute_component.html.erb b/app/components/open_project/common/attribute_component.html.erbindex b3a9cde4008..a8be7628928 100644--- a/app/components/open_project/common/attribute_component.html.erb+++ b/app/components/open_project/common/attribute_component.html.erb@@ -11,15 +11,13 @@style: "max-height: #{max_height};",data: {'attribute-target': "descriptionText"- })) { short_text }- %>+ })) { short_text } %><%= render(Primer::Beta::Text.new(tag: :div,display: display_expand_button_value,classes: 'op-long-text-attribute--text-hider',- data: { 'attribute-target': 'textHider' }))- %>+ data: { 'attribute-target': 'textHider' })) %><%= render(Primer::Alpha::HiddenTextExpander.new(inline: false,@@ -31,8 +29,7 @@},button_arguments: { 'data-show-dialog-id': id },classes: 'op-long-text-attribute--text-expander'- ))- %>+ )) %><%= render(Primer::Alpha::Dialog.new(id: id,@@ -43,6 +40,5 @@size: :large)) do |component|component.with_body { full_text }component.with_header(variant: :large)- end- %>+ end %></div>diff --git a/app/components/open_project/common/submenu_component.html.erb b/app/components/open_project/common/submenu_component.html.erbindex 53213ca8774..bc172b50a4d 100644--- a/app/components/open_project/common/submenu_component.html.erb+++ b/app/components/open_project/common/submenu_component.html.erb@@ -11,7 +11,7 @@action: "input->filter--filter-list#filterLists","filter--filter-list-target": "filter","test-selector": "op-submenu--search-input"- },) %>+ },) %><%= render Primer::Beta::Text.new(display: :none,classes: "op-submenu--search-no-results-container",diff --git a/app/components/projects/configure_view_modal_component.html.erb b/app/components/projects/configure_view_modal_component.html.erbindex e1a868d1e37..6cae6fa6949 100644--- a/app/components/projects/configure_view_modal_component.html.erb+++ b/app/components/projects/configure_view_modal_component.html.erb@@ -33,14 +33,14 @@inputPlaceholder: I18n.t(:'queries.configure_view.columns.input_placeholder'),dragAreaLabel: I18n.t(:'queries.configure_view.columns.drag_area_label'),appendToComponent: true- }%>+ } %><% end %><% end %><% tab_panel.with_tab(id: "tab-selects--sorting") do |tab| %>- <% tab.with_text { I18n.t("label_sort") }%>+ <% tab.with_text { I18n.t("label_sort") } %><% tab.with_panel do %><%= render(Queries::SortByComponent.new(query: query, selectable_columns:)) %>- <% end%>+ <% end %><% end %><% end %><% end %>diff --git a/app/components/projects/row_component.html.erb b/app/components/projects/row_component.html.erbindex 20549168b15..cff17907e37 100644--- a/app/components/projects/row_component.html.erb+++ b/app/components/projects/row_component.html.erb@@ -29,8 +29,7 @@ See COPYRIGHT and LICENSE files for more details.<tr<%= "id=\"#{row_css_id}\"".html_safe if row_css_id %>- <%= "class=\"#{row_css_class}\"".html_safe if row_css_class %>->+ <%= "class=\"#{row_css_class}\"".html_safe if row_css_class %>><% columns.each do |column| %><td class="<%= column_css_class(column) %>"><%= column_value(column) %>diff --git a/app/components/projects/table_component.html.erb b/app/components/projects/table_component.html.erbindex 9f33feb4aee..40c15c28370 100644--- a/app/components/projects/table_component.html.erb+++ b/app/components/projects/table_component.html.erb@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.<table class="generic-table" data-controller="table-highlighting" <%= table_id ? "id=\"#{table_id}\"".html_safe : '' %>><colgroup><% columns.each do |column| %>- <col <%= "opHighlightCol" unless column.attribute == :hierarchy %> >+ <col <%= "opHighlightCol" unless column.attribute == :hierarchy %>><% end %><col></colgroup>diff --git a/app/components/row_component.html.erb b/app/components/row_component.html.erbindex 20549168b15..cff17907e37 100644--- a/app/components/row_component.html.erb+++ b/app/components/row_component.html.erb@@ -29,8 +29,7 @@ See COPYRIGHT and LICENSE files for more details.<tr<%= "id=\"#{row_css_id}\"".html_safe if row_css_id %>- <%= "class=\"#{row_css_class}\"".html_safe if row_css_class %>->+ <%= "class=\"#{row_css_class}\"".html_safe if row_css_class %>><% columns.each do |column| %><td class="<%= column_css_class(column) %>"><%= column_value(column) %>diff --git a/app/components/shares/project_queries/project_access_warning_component.html.erb b/app/components/shares/project_queries/project_access_warning_component.html.erbindex 629a8b7b9dc..21fef5f42ab 100644--- a/app/components/shares/project_queries/project_access_warning_component.html.erb+++ b/app/components/shares/project_queries/project_access_warning_component.html.erb@@ -1,3 +1,3 @@<%- if query_is_public? || query_is_shared? %>- <%= container.with_row { render(Primer::Alpha::Banner.new(icon: :info)) { I18n.t('sharing.project_queries.access_warning') } }%>+ <%= container.with_row { render(Primer::Alpha::Banner.new(icon: :info)) { I18n.t('sharing.project_queries.access_warning') } } %><%- end %>diff --git a/app/components/users/index_page_header_component.html.erb b/app/components/users/index_page_header_component.html.erbindex 73f5aaf4244..fb2c24bb392 100644--- a/app/components/users/index_page_header_component.html.erb+++ b/app/components/users/index_page_header_component.html.erb@@ -2,7 +2,8 @@render(Primer::OpenProject::PageHeader.new) do |header|header.with_title { t(:label_user_plural) }header.with_breadcrumbs(breadcrumb_items)- header.with_description do %>+ header.with_description do+%><%= t(:label_enterprise_active_users, current: OpenProject::Enterprise.active_user_count, limit: user_limit) %> <%= render(Primer::Beta::Button.new(scheme: :primary,diff --git a/app/components/work_packages/activities_tab/journals/empty_component.html.erb b/app/components/work_packages/activities_tab/journals/empty_component.html.erbindex e5fbf2c325f..d15d3349b08 100644--- a/app/components/work_packages/activities_tab/journals/empty_component.html.erb+++ b/app/components/work_packages/activities_tab/journals/empty_component.html.erb@@ -1,7 +1,7 @@<%=component_wrapper dorender(Primer::Beta::Blankslate.new(- border: true,+ border: true,data: { test_selector: "op-wp-journals-container-empty"})) do |component|component.with_visual_icon(icon: :pulse)component.with_heading(tag: :h2).with_content(t("activities.work_packages.activity_tab.no_results_title_text"))diff --git a/app/components/work_packages/activities_tab/journals/filter_and_sorting_component.html.erb b/app/components/work_packages/activities_tab/journals/filter_and_sorting_component.html.erbindex e24c7750899..2ac07ec089a 100644--- a/app/components/work_packages/activities_tab/journals/filter_and_sorting_component.html.erb+++ b/app/components/work_packages/activities_tab/journals/filter_and_sorting_component.html.erb@@ -14,7 +14,7 @@label: t("activities.work_packages.activity_tab.label_activity_show_all"),href: update_filter_work_package_activities_path(work_package),content_arguments: {- data: {+ data: {turbo_stream: true, "action": "click->work-packages--activities-tab--index#unsetFilter","test_selector": "op-wp-journals-filter-show-all"}@@ -25,7 +25,7 @@label: t("activities.work_packages.activity_tab.label_activity_show_only_changes"),href: update_filter_work_package_activities_path(work_package, filter: :only_changes),content_arguments: {- data: {+ data: {turbo_stream: true, "action": "click->work-packages--activities-tab--index#setFilterToOnlyChanges","test_selector": "op-wp-journals-filter-show-only-changes"}@@ -36,7 +36,7 @@label: t("activities.work_packages.activity_tab.label_activity_show_only_comments"),href: update_filter_work_package_activities_path(work_package, filter: :only_comments),content_arguments: {- data: {+ data: {turbo_stream: true, "action": "click->work-packages--activities-tab--index#setFilterToOnlyComments","test_selector": "op-wp-journals-filter-show-only-comments"}diff --git a/app/components/work_packages/activities_tab/journals/item_component/details.html.erb b/app/components/work_packages/activities_tab/journals/item_component/details.html.erbindex e2ca551782e..e4118e12793 100644--- a/app/components/work_packages/activities_tab/journals/item_component/details.html.erb+++ b/app/components/work_packages/activities_tab/journals/item_component/details.html.erb@@ -1,4 +1,4 @@-<%=+<%=component_wrapper(class: "work-packages-activities-tab-journals-item-component-details") doflex_layout(my: 0,@@ -31,5 +31,5 @@endendend- end-%>\ No newline at end of file+ end+%>diff --git a/app/components/work_packages/activities_tab/journals/revision_component.html.erb b/app/components/work_packages/activities_tab/journals/revision_component.html.erbindex be28bcec0dd..3529fe071d0 100644--- a/app/components/work_packages/activities_tab/journals/revision_component.html.erb+++ b/app/components/work_packages/activities_tab/journals/revision_component.html.erb@@ -1,6 +1,6 @@<%=component_wrapper(class: "work-packages-activities-tab-journals-item-component") do- flex_layout(data: {+ flex_layout(data: {test_selector: "op-wp-revision-entry-#{changeset.id}"}) do |revision_container|revision_container.with_row do@@ -78,4 +78,4 @@endendend-%>\ No newline at end of file+%>diff --git a/app/components/work_packages/details/tab_component.html.erb b/app/components/work_packages/details/tab_component.html.erbindex 7e110eec4e3..7a2f8c76dfb 100644--- a/app/components/work_packages/details/tab_component.html.erb+++ b/app/components/work_packages/details/tab_component.html.erb@@ -14,7 +14,6 @@aria: { label: I18n.t(:label_scroll_left) }))end-flex.with_column(flex: 1, classes: "op-work-package-details-tab-component--tabs", test_selector: "wp-details-tab-component--tabs") dorender(Primer::Alpha::UnderlineNav.new(align: :left,label: "Tabs",diff --git a/app/components/work_packages/exports/column_selection_component.html.erb b/app/components/work_packages/exports/column_selection_component.html.erbindex 738bef270c8..78c299aed6c 100644--- a/app/components/work_packages/exports/column_selection_component.html.erb+++ b/app/components/work_packages/exports/column_selection_component.html.erb@@ -12,5 +12,4 @@inputLabel: label,inputPlaceholder: I18n.t(:"queries.configure_view.columns.input_placeholder"),dragAreaLabel: I18n.t(:"queries.configure_view.columns.drag_area_label"),- }-%>+ } %>diff --git a/app/components/work_packages/exports/pdf/export_settings_component.html.erb b/app/components/work_packages/exports/pdf/export_settings_component.html.erbindex 907171a030d..adfaedd9d96 100644--- a/app/components/work_packages/exports/pdf/export_settings_component.html.erb+++ b/app/components/work_packages/exports/pdf/export_settings_component.html.erb@@ -2,7 +2,8 @@flex_layout(data: {"application-target": "dynamic",controller: "work-packages--export--pdf--settings"- }) do |container| %>+ }) do |container|+%><%= container.with_row do %><%= render(Primer::Alpha::RadioButtonGroup.new(full_width: true,diff --git a/app/components/work_packages/exports/pdf/report/export_settings_component.html.erb b/app/components/work_packages/exports/pdf/report/export_settings_component.html.erbindex 831c9fed900..c1b343fdfaf 100644--- a/app/components/work_packages/exports/pdf/report/export_settings_component.html.erb+++ b/app/components/work_packages/exports/pdf/report/export_settings_component.html.erb@@ -23,8 +23,7 @@inputCaption: I18n.t(:"export.dialog.pdf.long_text_fields.input_caption"),inputPlaceholder: I18n.t(:"export.dialog.pdf.long_text_fields.input_placeholder"),dragAreaLabel: I18n.t(:"export.dialog.pdf.long_text_fields.drag_area_label"),- }- %>+ } %><% end %><%= container.with_row do |_pdf_report_images| %><%= render OpenProject::Common::DividerComponent.new %>diff --git a/app/components/work_packages/reminder/modal_body_component.html.erb b/app/components/work_packages/reminder/modal_body_component.html.erbindex ba6347a6628..136dddb8190 100644--- a/app/components/work_packages/reminder/modal_body_component.html.erb+++ b/app/components/work_packages/reminder/modal_body_component.html.erb@@ -33,9 +33,9 @@<%= render(Primer::Beta::Button.new(scheme: :primary,type: :submit)) { I18n.t(:button_save) } %><% end %>- <% end%>+ <% end %><% end %>- <% else%>+ <% else %><%= form_flex_container.with_row(flex_layout: true,justify_content: :flex_end) do |actions_row| %><%= actions_row.with_column(mr: 2) do %>@@ -46,7 +46,7 @@type: :submit)) { I18n.t(:button_set_reminder) } %><% end %><% end %>- <% end%>+ <% end %><% end %><% end %><% end %>diff --git a/app/views/account/_auth_providers.html.erb b/app/views/account/_auth_providers.html.erbindex f399507f033..63e8821b3ff 100644--- a/app/views/account/_auth_providers.html.erb+++ b/app/views/account/_auth_providers.html.erb@@ -45,7 +45,7 @@ wclass = local_assigns[:wide] ? 'wide' : ''<% unless no_pwd %><h3 class="login-auth-providers-title mb-3"><span>- <%= local_assigns[:omniauth_title] || I18n.t('account.login_with_auth_provider')%>+ <%= local_assigns[:omniauth_title] || I18n.t('account.login_with_auth_provider') %></span></h3><% end %>diff --git a/app/views/account/_login.html.erb b/app/views/account/_login.html.erbindex 802e4f29077..dd4a616ebad 100644--- a/app/views/account/_login.html.erb+++ b/app/views/account/_login.html.erb@@ -77,7 +77,7 @@ See COPYRIGHT and LICENSE files for more details. </label><input type="submit" name="login" id="login-pulldown"- value="<%=t(:button_login)%>" class="button -primary button_no-margin" tabindex="1" />+ value="<%= t(:button_login) %>" class="button -primary button_no-margin" tabindex="1"></div></div>diff --git a/app/views/account/_register.html.erb b/app/views/account/_register.html.erbindex 554f8be6fa0..6afa16518a8 100644--- a/app/views/account/_register.html.erb+++ b/app/views/account/_register.html.erb@@ -64,8 +64,8 @@ See COPYRIGHT and LICENSE files for more details.<%= call_hook :view_account_register_after_basic_information, f: f %><%= render partial: "customizable/form",locals: { form: f, all_fields: false, only_required: true, wide_labels: true } %>- <br/>- <br/>+ <br>+ <br><% if @user.change_password_allowed? %><div class="form--field -required -wide-label -reduced-margin"><%= f.password_field :password,@@ -85,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %></section><% if user_consent_required? %>- <hr/>+ <hr><%= render partial: 'account/user_consent_check' %><% end %><%= render partial: 'account/auth_providers', locals: { omniauth_title: I18n.t('account.signup_with_auth_provider'), wide: true } %>diff --git a/app/views/account/_user_consent_check.html.erb b/app/views/account/_user_consent_check.html.erbindex 26020ae4bd9..450055136ac 100644--- a/app/views/account/_user_consent_check.html.erb+++ b/app/views/account/_user_consent_check.html.erb@@ -5,7 +5,7 @@<label class="form--label-with-check-box -required -no-ellipsis op-user-consent-form--agreement"><div class="form--check-box-container">- <input type="checkbox" name="consent_check" class="form--check-box" required="required" />+ <input type="checkbox" name="consent_check" class="form--check-box" required="required"></div><%= format_text consent_checkbox_label %>diff --git a/app/views/account/consent.html.erb b/app/views/account/consent.html.erbindex 1fd00ba74d8..384c4dd3b7a 100644--- a/app/views/account/consent.html.erb+++ b/app/views/account/consent.html.erb@@ -32,7 +32,6 @@ See COPYRIGHT and LICENSE files for more details.<%= call_hook :view_account_consent_top %><div id="login-form" class="account-consent form -bordered">-<%= form_tag(account_confirm_consent_path, method: :post, class: "form -wide-labels") do %><%= render partial: 'user_consent_check' %><section class="form--section">diff --git a/app/views/account/exit.html.erb b/app/views/account/exit.html.erbindex 76d202bf294..8b549578e1e 100644--- a/app/views/account/exit.html.erb+++ b/app/views/account/exit.html.erb@@ -28,8 +28,7 @@ See COPYRIGHT and LICENSE files for more details.++#%><% # LOCALS- fail ArgumentError, 'missing instructions' unless defined? instructions-%>+ fail ArgumentError, 'missing instructions' unless defined? instructions %><% html_title t(:label_login) %><% breadcrumb_paths(t(:label_login)) %>@@ -42,7 +41,7 @@ See COPYRIGHT and LICENSE files for more details.<div id="login-form" class="form -bordered"><h1><%= I18n.t(:label_login) %></h1>- <hr class="form--separator" />+ <hr class="form--separator"><p><%= instruction_text.html_safe %></p></div><%= call_hook :view_account_login_bottom %>diff --git a/app/views/account/login.html.erb b/app/views/account/login.html.erbindex caf05943193..86908cfc358 100644--- a/app/views/account/login.html.erb+++ b/app/views/account/login.html.erb@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.<div id="login-form" class="form -bordered"><h1><%= I18n.t(:label_login) %></h1>- <hr class="form--separator" />+ <hr class="form--separator"><% unless OpenProject::Configuration.disable_password_login? %><%= render partial: 'password_login_form' %><% end %>diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erbindex 0094b403794..8c6f586cf61 100644--- a/app/views/activities/index.html.erb+++ b/app/views/activities/index.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= render(Activities::DaysComponent.new(events: @events, current_project: @project, activity_page: @activity_page)) %>+<%= render(Activities::DaysComponent.new(events: @events, current_project: @project, activity_page: @activity_page)) %><% if @events.empty? %><%= no_results_box %>diff --git a/app/views/admin/backups/reset_token.html.erb b/app/views/admin/backups/reset_token.html.erbindex 7cf210509bb..a58a07b1a8a 100644--- a/app/views/admin/backups/reset_token.html.erb+++ b/app/views/admin/backups/reset_token.html.erb@@ -68,7 +68,7 @@ See COPYRIGHT and LICENSE files for more details.).html_safe %></p><div class="danger-zone--verification">- <input type="text" name="login_verification"/>+ <input type="text" name="login_verification"><%= styled_button_tag '', class: '-primary', disabled: true doconcat content_tag :i, '', class: "button--icon icon-#{icon}"concat content_tag :span, t("backup.reset_token.action_#{action}"), class: 'button--text'diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erbindex d0f8ec0a9c1..bf3c8263159 100644--- a/app/views/admin/info.html.erb+++ b/app/views/admin/info.html.erb@@ -73,7 +73,6 @@ See COPYRIGHT and LICENSE files for more details.component.with_attribute(key: 'Deprecation warning', value:)end-if (updated_on = OpenProject::VERSION.updated_on).present?component.with_attribute(key: t(:label_last_change_on), value: format_time(updated_on))end@@ -104,7 +103,8 @@ end %>value = number_to_human_size(entries[:data][:used], precision: 2)value += "(#{entries[:data][:percent_used].round(2)})"component.with_attribute(key: t(:label_storage_used_space), value:)- end %>+ end+ %><% end %><%= call_hook(:view_admin_info_bottom) %>diff --git a/app/views/admin/plugins.html.erb b/app/views/admin/plugins.html.erbindex 9d431a89396..434e6506b5c 100644--- a/app/views/admin/plugins.html.erb+++ b/app/views/admin/plugins.html.erb@@ -77,7 +77,7 @@ See COPYRIGHT and LICENSE files for more details.<tbody><% @plugins.each do |plugin| %><tr>- <td><span class="name"><%=h plugin.name %></span>+ <td><span class="name"><%= h plugin.name %></span><%= content_tag('span', plugin.description, class: 'description') if plugin.description.present? %><%= content_tag('span', link_to(plugin.url, plugin.url), class: 'url') if plugin.url.present? %></td>diff --git a/app/views/admin/settings/aggregation_settings/show.html.erb b/app/views/admin/settings/aggregation_settings/show.html.erbindex 804ad55bdb0..4bbb465618e 100644--- a/app/views/admin/settings/aggregation_settings/show.html.erb+++ b/app/views/admin/settings/aggregation_settings/show.html.erb@@ -49,7 +49,7 @@ See COPYRIGHT and LICENSE files for more details.webhook_link: link_to(t(:'admin.journal_aggregation.explanation.link'),admin_outgoing_webhooks_path,target: '_blank')).html_safe %>- <br/>+ <br><%= t(:text_hint_disable_with_0) %></span></div>diff --git a/app/views/admin/settings/authentication_settings/show.html.erb b/app/views/admin/settings/authentication_settings/show.html.erbindex cca0e8c6d32..01c36fe2dbd 100644--- a/app/views/admin/settings/authentication_settings/show.html.erb+++ b/app/views/admin/settings/authentication_settings/show.html.erb@@ -65,8 +65,7 @@ See COPYRIGHT and LICENSE files for more details..order("lower(display_name) ASC").select(:type, :display_name, :slug).to_a- .map { |p| ["#{p.display_name} (#{p.human_type})", p.slug] }- %>+ .map { |p| ["#{p.display_name} (#{p.human_type})", p.slug] } %><%= setting_select :omniauth_direct_login_provider,[[t(:label_disabled), ""]] + providers,container_class: '-middle' %>@@ -77,7 +76,6 @@ See COPYRIGHT and LICENSE files for more details.</div></fieldset>-<fieldset class="form--fieldset"><fieldset id="registration_footer" class="form--fieldset"><legend class="form--fieldset-legend"><%= I18n.t(:setting_registration_footer) %></legend>diff --git a/app/views/admin/settings/general_settings/show.html.erb b/app/views/admin/settings/general_settings/show.html.erbindex d5075aaad5b..eb508f44ad6 100644--- a/app/views/admin/settings/general_settings/show.html.erb+++ b/app/views/admin/settings/general_settings/show.html.erb@@ -38,14 +38,13 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= styled_form_tag(admin_settings_general_path, method: :patch) do %><section class="form--section"><div class="form--field"><%= setting_text_field :app_title, size: 30, container_class: '-middle' %></div><div class="form--field"><%= setting_text_field :per_page_options, size: 20, container_class: '-slim' %><span class="form--field-instructions">- <%= t(:text_comma_separated) %><br/>+ <%= t(:text_comma_separated) %><br><%= t(:text_notice_too_many_values_are_inperformant) %></span></div>diff --git a/app/views/admin/settings/languages_settings/show.html.erb b/app/views/admin/settings/languages_settings/show.html.erbindex 67086000008..696ebe747c5 100644--- a/app/views/admin/settings/languages_settings/show.html.erb+++ b/app/views/admin/settings/languages_settings/show.html.erb@@ -48,6 +48,5 @@ See COPYRIGHT and LICENSE files for more details.<%= styled_button_tag t(:button_save),class: '-primary -with-icon icon-checkmark',- disabled: !Setting.available_languages_writable?- %>+ disabled: !Setting.available_languages_writable? %><% end %>diff --git a/app/views/admin/settings/project_custom_fields/edit.html.erb b/app/views/admin/settings/project_custom_fields/edit.html.erbindex bb88d394606..726b2bbb1d1 100644--- a/app/views/admin/settings/project_custom_fields/edit.html.erb+++ b/app/views/admin/settings/project_custom_fields/edit.html.erb@@ -40,8 +40,7 @@ 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-format-config-value": OpenProject::CustomFieldFormatDependent.stimulus_config %><%= labelled_tabular_form_for @custom_field, as: :custom_field,url: admin_settings_project_custom_field_path(@custom_field),diff --git a/app/views/admin/settings/project_custom_fields/new.html.erb b/app/views/admin/settings/project_custom_fields/new.html.erbindex a1cdbf6b98d..7bff6431565 100644--- a/app/views/admin/settings/project_custom_fields/new.html.erb+++ b/app/views/admin/settings/project_custom_fields/new.html.erb@@ -35,8 +35,7 @@ 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-format-config-value": OpenProject::CustomFieldFormatDependent.stimulus_config %><%= labelled_tabular_form_for @custom_field, as: :custom_field,url: admin_settings_project_custom_fields_path,diff --git a/app/views/admin/settings/projects_settings/show.html.erb b/app/views/admin/settings/projects_settings/show.html.erbindex f8ee4cf5648..ded88d96596 100644--- a/app/views/admin/settings/projects_settings/show.html.erb+++ b/app/views/admin/settings/projects_settings/show.html.erb@@ -51,7 +51,7 @@ See COPYRIGHT and LICENSE files for more details.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>@@ -67,8 +67,7 @@ See COPYRIGHT and LICENSE files for more details.id: 'settings_project_gantt_query',query: ::Projects::GanttQueryGeneratorService.current_query,'url-params': 'true'- }- %>+ } %></span></span><div class="form--field-instructions">diff --git a/app/views/admin/settings/repositories_settings/_repositories_checkout.html.erb b/app/views/admin/settings/repositories_settings/_repositories_checkout.html.erbindex b504f26d029..7cd1240df89 100644--- a/app/views/admin/settings/repositories_settings/_repositories_checkout.html.erb+++ b/app/views/admin/settings/repositories_settings/_repositories_checkout.html.erb@@ -5,13 +5,13 @@<% setting_base = "settings[repository_checkout_data][#{vendor}]" %><% enabled = Setting.repository_checkout_data[vendor]['enabled'].to_i > 0 %><fieldset class="form--fieldset -collapsible collapsed">- <legend class="form--fieldset-legend" title="<%= klass.vendor_name %>" >+ <legend class="form--fieldset-legend" title="<%= klass.vendor_name %>"><a href="#"><%= klass.vendor_name %></a></legend><div class="form--field"><% key = "#{setting_base}[enabled]" %>- <input type="hidden" name="<%= key %>" value="0" id="<% "#{key}_hidden" %>" />+ <input type="hidden" name="<%= key %>" value="0" id="<% "#{key}_hidden" %>"><%= setting_label key, label: :setting_repository_checkout_display %><div class="form--field-container"><%= styled_check_box_tag key, 1, enabled, class: 'settings-repositories--checkout-toggle' %>diff --git a/app/views/admin/settings/repositories_settings/show.html.erb b/app/views/admin/settings/repositories_settings/show.html.erbindex b6880007ae6..ceb4fb39b6f 100644--- a/app/views/admin/settings/repositories_settings/show.html.erb+++ b/app/views/admin/settings/repositories_settings/show.html.erb@@ -43,7 +43,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field"><%= setting_check_box :autofetch_changesets %><div class="form--field-instructions">- <%= simple_format t('repositories.autofetch_information') %>+ <%= simple_format t('repositories.autofetch_information') %></div></div><div class="form--field">diff --git a/app/views/admin/settings/show_plugin.html.erb b/app/views/admin/settings/show_plugin.html.erbindex dfd8780a0fa..2f9e3c10588 100644--- a/app/views/admin/settings/show_plugin.html.erb+++ b/app/views/admin/settings/show_plugin.html.erb@@ -40,7 +40,7 @@ See COPYRIGHT and LICENSE files for more details.<div id="settings"><%= styled_form_tag({controller: '/admin/settings', action: 'update_plugin' }) do %>- <%= render partial: @partial, locals: {settings: @settings}%>+ <%= render partial: @partial, locals: {settings: @settings} %><%= styled_submit_tag t(:button_apply), class: '-primary' %><% end %></div>diff --git a/app/views/admin/settings/users_settings/show.html.erb b/app/views/admin/settings/users_settings/show.html.erbindex b4171880d12..0c179a0baf4 100644--- a/app/views/admin/settings/users_settings/show.html.erb+++ b/app/views/admin/settings/users_settings/show.html.erb@@ -40,7 +40,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' %>@@ -49,8 +49,7 @@ See COPYRIGHT and LICENSE files for more details.<%= render Settings::TimeZoneSettingComponent.new("user_default_timezone",title: I18n.t("tooltip_user_default_timezone")- )- %>+ ) %><div class="form--field"><%= setting_check_box :default_auto_hide_popups, label: 'activerecord.attributes.user_preference.auto_hide_popups' %>@@ -58,7 +57,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' %>@@ -67,7 +66,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>@@ -97,7 +96,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %><div class="form--field-instructions"><%= I18n.t('consent.text_update_consent_time') %>- <br/>+ <br><strong><%= I18n.t('consent.update_consent_last_time',update_time: Setting.consent_time.present? ? format_time(Setting.consent_time) : t(:label_never)) %>diff --git a/app/views/admin/settings/virus_scanning_settings/_av_form.html.erb b/app/views/admin/settings/virus_scanning_settings/_av_form.html.erbindex f7de9c25882..8a00da9892b 100644--- a/app/views/admin/settings/virus_scanning_settings/_av_form.html.erb+++ b/app/views/admin/settings/virus_scanning_settings/_av_form.html.erb@@ -27,8 +27,7 @@[t('settings.antivirus.actions.quarantine'), :quarantine],[t('settings.antivirus.actions.delete'), :delete],],- container_class: '-wide'- %>+ container_class: '-wide' %><div class="form--field-instructions"><p><%= t('settings.antivirus.actions.instructions_html',quarantine_option: t('settings.antivirus.actions.quarantine'),diff --git a/app/views/admin/settings/virus_scanning_settings/show.html.erb b/app/views/admin/settings/virus_scanning_settings/show.html.erbindex 7a79bf68f43..45d562e0f2a 100644--- a/app/views/admin/settings/virus_scanning_settings/show.html.erb+++ b/app/views/admin/settings/virus_scanning_settings/show.html.erb@@ -53,8 +53,7 @@ See COPYRIGHT and LICENSE files for more details.container_class: '-wide',data: {action: 'refresh-on-form-changes#triggerTurboStream'- }- %>+ } %><div class="form--field-instructions"><p><%= t('settings.antivirus.modes.description_html',disabled_option: t(:label_disabled_uppercase),diff --git a/app/views/announcements/edit.html.erb b/app/views/announcements/edit.html.erbindex 23b615d3de7..646a6d308b5 100644--- a/app/views/announcements/edit.html.erb+++ b/app/views/announcements/edit.html.erb@@ -12,7 +12,7 @@<%= labelled_tabular_form_for @announcement,:url => {:action => :update},- :html => {:method => :put} do |f|%>+ :html => {:method => :put} do |f| %><div class="form--field"><%= f.text_area :text,:cols => 80,diff --git a/app/views/attribute_help_texts/_form.html.erb b/app/views/attribute_help_texts/_form.html.erbindex ebf19deadf5..73ecb7cae4e 100644--- a/app/views/attribute_help_texts/_form.html.erb+++ b/app/views/attribute_help_texts/_form.html.erb@@ -34,8 +34,7 @@ See COPYRIGHT and LICENSE files for more details.<%= f.select :attribute_name,[[@attribute_help_text.attribute_caption, @attribute_help_text.attribute_name]],{},- disabled: true- %>+ disabled: true %><% else %><%= f.select :attribute_name, selectable_attributes(@attribute_help_text), container_class: '-middle' %><% end %>diff --git a/app/views/attribute_help_texts/_tab.html.erb b/app/views/attribute_help_texts/_tab.html.erbindex 8b59eed7383..7aff8830153 100644--- a/app/views/attribute_help_texts/_tab.html.erb+++ b/app/views/attribute_help_texts/_tab.html.erb@@ -48,8 +48,7 @@attribute: attribute_help_text.attribute_name,attributeScope: attribute_help_text.attribute_scope,additionalLabel: t(:'attribute_help_texts.show_preview')- }- %>+ } %></td><td class="buttons"><%= link_to(diff --git a/app/views/attribute_help_texts/edit.html.erb b/app/views/attribute_help_texts/edit.html.erbindex a461f4257c8..f52d2eee646 100644--- a/app/views/attribute_help_texts/edit.html.erb+++ b/app/views/attribute_help_texts/edit.html.erb@@ -39,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= labelled_tabular_form_for @attribute_help_text,as: 'attribute_help_text',url: { action: :update },diff --git a/app/views/categories/_form.html.erb b/app/views/categories/_form.html.erbindex 974a49f0527..fbbab6ba6de 100644--- a/app/views/categories/_form.html.erb+++ b/app/views/categories/_form.html.erb@@ -41,4 +41,3 @@ See COPYRIGHT and LICENSE files for more details.include_blank: true,container_class: '-slim' %></div>-diff --git a/app/views/categories/destroy.html.erb b/app/views/categories/destroy.html.erbindex 430fd018537..8b258d7a732 100644--- a/app/views/categories/destroy.html.erb+++ b/app/views/categories/destroy.html.erb@@ -34,7 +34,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },{ href: project_settings_categories_path(@project.id), text: t(:label_work_package_category_plural) },@category.name])- end %>+ end+%><%= form_tag({}, {method: :delete, class: 'form'}) do %><p><strong><%= t(:text_work_package_category_destroy_question, count: @issue_count) %></strong></p>diff --git a/app/views/categories/new.html.erb b/app/views/categories/new.html.erbindex bcb04b11371..70ea4f735d2 100644--- a/app/views/categories/new.html.erb+++ b/app/views/categories/new.html.erb@@ -35,7 +35,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_settings_categories_path(@project.id), text: t(:label_work_package_category_plural) },t(:label_work_package_category_new)])- end %>+ end+%><%= labelled_tabular_form_for [@project, @category], as: :category do |f| %><%= render partial: 'categories/form', locals: { f: f } %>diff --git a/app/views/colors/_color_autocomplete_field.html.erb b/app/views/colors/_color_autocomplete_field.html.erbindex 7f62de55413..c4e665f5f90 100644--- a/app/views/colors/_color_autocomplete_field.html.erb+++ b/app/views/colors/_color_autocomplete_field.html.erb@@ -1,7 +1,7 @@<% form_field_class = form_field_class || '' %><% container_class = container_class || '' %><% highlight_text_inline = highlight_text_inline || false %>-<div class="form--field <%= form_field_class %>"<%= %>>+<div class="form--field <%= form_field_class %>"<%= %>><label class="form--label"><%= t('attributes.color') %></label>diff --git a/app/views/common/_diff.html.erb b/app/views/common/_diff.html.erbindex 070249d73c5..436ffc42e97 100644--- a/app/views/common/_diff.html.erb+++ b/app/views/common/_diff.html.erb@@ -49,11 +49,11 @@ See COPYRIGHT and LICENSE files for more details.<tr><th class="line-num"><%= line.nb_line_left %></th><td class="line-code <%= line.type_diff_left %>">- <pre><%=to_utf8_for_attachments line.html_line_left %></pre>+ <pre><%= to_utf8_for_attachments line.html_line_left %></pre></td><th class="line-num"><%= line.nb_line_right %></th><td class="line-code <%= line.type_diff_right %>">- <pre><%=to_utf8_for_attachments line.html_line_right %></pre>+ <pre><%= to_utf8_for_attachments line.html_line_right %></pre></td></tr><% end -%>@@ -79,7 +79,7 @@ See COPYRIGHT and LICENSE files for more details.<th class="line-num"><%= line.nb_line_left %></th><th class="line-num"><%= line.nb_line_right %></th><td class="line-code <%= line.type_diff %>">- <pre><%=to_utf8_for_attachments line.html_line %></pre>+ <pre><%= to_utf8_for_attachments line.html_line %></pre></td></tr><% end -%>diff --git a/app/views/common/upsale.html.erb b/app/views/common/upsale.html.erbindex 227ee9e63f1..d6b406721ae 100644--- a/app/views/common/upsale.html.erb+++ b/app/views/common/upsale.html.erb@@ -13,9 +13,9 @@<% if feature_description.empty? %><p class="upsale--feature-reference"><%= t('js.admin.enterprise.upsale.benefits.description') %>- </br>+ <br><%= t('js.admin.enterprise.upsale.benefits.premium_features_text') %>- </br>+ <br><%= t('js.admin.enterprise.upsale.benefits.professional_support_text') %></p><% else %>@@ -37,7 +37,7 @@<% end %><p> <%= feature_title %> <%= t('admin.enterprise.enterprise_info_html') %>- </br>+ <br><%= t('admin.enterprise.upgrade_info') %></p><%= link_to(OpenProject::Static::Links.links[:contact_us][:href],diff --git a/app/views/custom_actions/_form.html.erb b/app/views/custom_actions/_form.html.erbindex 0a36eeb5cec..a92bd8331b9 100644--- a/app/views/custom_actions/_form.html.erb+++ b/app/views/custom_actions/_form.html.erb@@ -30,8 +30,7 @@appendTo: "body",labelForId: "custom_action_actions_#{condition.key}",inputValue: condition.values- }- %>+ } %><% else %><%= angular_component_tag 'opce-autocompleter',inputs: {@@ -44,8 +43,7 @@bindValue: "id",labelForId: "custom_action_conditions_#{condition.key}",appendTo: "body",- }- %>+ } %><% end %></div></div>@@ -79,8 +77,7 @@appendTo: "body",labelForId: "custom_action_actions_#{action.key}",inputValue: action.values.first- }- %>+ } %><% else %><%= angular_component_tag 'opce-autocompleter',inputs: {@@ -93,8 +90,7 @@bindValue: "id",labelForId: "custom_action_actions_#{action.key}",appendTo: "body",- }- %>+ } %><% end %></div></div>diff --git a/app/views/custom_fields/_custom_options.html.erb b/app/views/custom_fields/_custom_options.html.erbindex 3f8b60b1f70..4f455482387 100644--- a/app/views/custom_fields/_custom_options.html.erb+++ b/app/views/custom_fields/_custom_options.html.erb@@ -82,8 +82,7 @@ See COPYRIGHT and LICENSE files for more details.<%= f.fields_for :custom_options, custom_option do |co_f| %><trclass="dragula-element custom-option-row"- data-admin--custom-fields-target="customOptionRow"- >+ data-admin--custom-fields-target="customOptionRow"><td><span class="dragula-handle icon icon-table icon-drag-handle"></span><%= co_f.hidden_field :id,@@ -111,8 +110,7 @@ See COPYRIGHT and LICENSE files for more details.rel="nofollow"href="#"class="sort-up-custom-option"- data-action="admin--custom-fields#moveRowToTheTop"- >+ data-action="admin--custom-fields#moveRowToTheTop"><%= op_icon('icon-context icon-sort-up icon-small') %></a><a@@ -120,16 +118,14 @@ See COPYRIGHT and LICENSE files for more details.rel="nofollow"href="#"class="move-up-custom-option"- data-action="admin--custom-fields#moveRowUp"- >+ data-action="admin--custom-fields#moveRowUp"><%= op_icon('icon-context icon-arrow-up2 icon-small') %></a><atitle="<%= t(:label_sort_lower) %>"rel="nofollow" href="#"class="move-down-custom-option"- data-action="admin--custom-fields#moveRowDown"- >+ data-action="admin--custom-fields#moveRowDown"><%= op_icon('icon-context icon-arrow-down2 icon-small') %></a><a@@ -137,8 +133,7 @@ See COPYRIGHT and LICENSE files for more details.rel="nofollow"href="#"class="sort-down-custom-option"- data-action="admin--custom-fields#moveRowToTheBottom"- >+ data-action="admin--custom-fields#moveRowToTheBottom"><%= op_icon('icon-context icon-sort-down icon-small') %></a></span>diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erbindex aa06e6d4471..0dbe66aad72 100644--- a/app/views/custom_fields/_form.html.erb+++ b/app/views/custom_fields/_form.html.erb@@ -31,8 +31,7 @@ See COPYRIGHT and LICENSE files for more details.<sectionclass="form--section"- id="custom_field_form"->+ id="custom_field_form"><div class="form--field -required" id="custom_field_name_attributes"><%= f.text_field :name,required: true,@@ -44,8 +43,7 @@ See COPYRIGHT and LICENSE files for more details.<%= f.select :custom_field_section_id,ProjectCustomFieldSection.all.collect { |s| [s.name, s.id] },{ container_class: '-slim' },- required: true- %>+ required: true %></div><% end %><div class="form--field">@@ -56,8 +54,7 @@ See COPYRIGHT and LICENSE files for more details.data: {action: 'admin--custom-fields#formatChanged','admin--custom-fields-target': 'format'- }- %>+ } %><div class="form--field-extra-actions" <%= format_dependent.attributes(:enterpriseBanner) %>><%= angular_component_tag "opce-enterprise-banner",inputs: {@@ -66,8 +63,7 @@ See COPYRIGHT and LICENSE files for more details.opReferrer: "custom-field-hierarchy",textMessage: I18n.t("custom_fields.upsale.custom_field_format_hierarchy"),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:boards][:href]- }- %>+ } %></div></div>@@ -124,8 +120,7 @@ See COPYRIGHT and LICENSE files for more details.type="button"class="spot-link"data-test-selector="add-custom-option"- data-action="admin--custom-fields#addOption"- >+ data-action="admin--custom-fields#addOption"><span class="spot-icon spot-icon_1_25 spot-icon_add"></span><span><%= t(:button_add) %></span></button>diff --git a/app/views/custom_fields/_tab.html.erb b/app/views/custom_fields/_tab.html.erbindex 13437c01395..daf1cc95df3 100644--- a/app/views/custom_fields/_tab.html.erb+++ b/app/views/custom_fields/_tab.html.erb@@ -114,7 +114,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:button_sort)%>+ <%= t(:button_sort) %></span></div></div>diff --git a/app/views/custom_fields/index.html.erb b/app/views/custom_fields/index.html.erbindex 4f1e8509605..d517dc8cdc1 100644--- a/app/views/custom_fields/index.html.erb+++ b/app/views/custom_fields/index.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title(t(:label_administration), t(:label_custom_field_plural)) -%><%= render CustomFields::IndexPageHeaderComponent.new(tabs: custom_fields_tabs) %>diff --git a/app/views/custom_fields/new.html.erb b/app/views/custom_fields/new.html.erbindex e83345b9aee..aadb0a0d261 100644--- a/app/views/custom_fields/new.html.erb+++ b/app/views/custom_fields/new.html.erb@@ -39,14 +39,12 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= error_messages_for 'custom_field' %><% 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-enterprise-edition-value': EnterpriseToken.allows_to?(:custom_field_hierarchies) %><%= labelled_tabular_form_for @custom_field, as: :custom_field,url: custom_fields_path,diff --git a/app/views/custom_styles/_interface.html.erb b/app/views/custom_styles/_interface.html.erbindex 8c9098a5377..8127363e239 100644--- a/app/views/custom_styles/_interface.html.erb+++ b/app/views/custom_styles/_interface.html.erb@@ -3,7 +3,7 @@<fieldset class="form--fieldset"><legend class="form--fieldset-legend"><%= I18n.t(:label_interface_colors) %></legend><p> <%= t('label_interface_colors_description') %> </p>- <% DesignColor.setables.each do |design_color| %>+ <% DesignColor.setables.each do |design_color| %><div class="form--field -required"><label class="form--label"><%= I18n.t("admin.custom_styles.colors.#{design_color.variable}") %>:</label><span class="form--field-container">@@ -16,8 +16,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">@@ -34,7 +33,7 @@<%# Fill in the computed css variables in the inputs as their defaults %><%= nonced_javascript_tag do %>var computedStyle = getComputedStyle(document.documentElement);-+document.querySelectorAll('.design-color--variable-input').forEach(function(el) {diff --git a/app/views/custom_styles/_pdf_export_styles.html.erb b/app/views/custom_styles/_pdf_export_styles.html.erbindex f81c03ff0f4..59f6eb8065e 100644--- a/app/views/custom_styles/_pdf_export_styles.html.erb+++ b/app/views/custom_styles/_pdf_export_styles.html.erb@@ -105,8 +105,7 @@ See COPYRIGHT and LICENSE files for more details.<span class="form--text-field-container"><%= styled_text_field_tag design_color_name,design_color_hex,- placeholder: '#000'- %>+ placeholder: '#000' %></span></span><div class="form--field-instructions">diff --git a/app/views/custom_styles/show.html.erb b/app/views/custom_styles/show.html.erbindex 633b5a612d4..39ea7d47c63 100644--- a/app/views/custom_styles/show.html.erb+++ b/app/views/custom_styles/show.html.erb@@ -43,7 +43,7 @@ See COPYRIGHT and LICENSE files for more details.</div><%= styled_button_tag t(:button_save),- data: { test_selector: "color-theme-button", confirm: (t('admin.custom_styles.theme_warning') unless @current_theme.present?)} %>+ data: { test_selector: "color-theme-button", confirm: (t('admin.custom_styles.theme_warning') unless @current_theme.present?)} %></fieldset></section><% end %>diff --git a/app/views/customizable/_form.html.erb b/app/views/customizable/_form.html.erbindex c38054fd342..1a99e0dc0b7 100644--- a/app/views/customizable/_form.html.erb+++ b/app/views/customizable/_form.html.erb@@ -40,7 +40,8 @@ See COPYRIGHT and LICENSE files for more details.form_options = {custom_value: form.object.custom_value_for(custom_field.id),custom_field: custom_field- } %>+ }+ %><%= form.fields_for_custom_fields :custom_field_values, form.object, form_options do |cf_form| %><% show_required = custom_field.is_required? && !custom_field.boolean? %><%= content_tag :div,diff --git a/app/views/doorkeeper/authorizations/error.html.erb b/app/views/doorkeeper/authorizations/error.html.erbindex 2cbe0cfd1c3..4cd3adab9c5 100644--- a/app/views/doorkeeper/authorizations/error.html.erb+++ b/app/views/doorkeeper/authorizations/error.html.erb@@ -2,7 +2,7 @@<div class="op-toast--content"><p><strong><%= t('oauth.authorization_error') %></strong>- <br/>+ <br><%= @pre_auth.error_response.body[:error_description] %></pre></p></div>diff --git a/app/views/doorkeeper/authorizations/new.html.erb b/app/views/doorkeeper/authorizations/new.html.erbindex 3ba1abe4cfb..28775ba9925 100644--- a/app/views/doorkeeper/authorizations/new.html.erb+++ b/app/views/doorkeeper/authorizations/new.html.erb@@ -17,7 +17,7 @@<% @pre_auth.scopes.each do |scope| %><li><strong><%= t("oauth.scopes.#{scope}", default: scope.humanize) %></strong>- <br/>+ <br><%= t "oauth.scopes.#{scope}_text", default: "Access to scope #{scope}" %></li><% end %>@@ -36,7 +36,7 @@<%= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method %><%= submit_tag t('oauth.authorization_dialog.authorize'), class: "button -primary -expand" %><% end %>- <br/>+ <br><%= form_tag oauth_authorization_path, method: :delete, data: { turbo: false } do %><%= hidden_field_tag :client_id, @pre_auth.client.uid %><%= hidden_field_tag :redirect_uri, @pre_auth.redirect_uri %>diff --git a/app/views/enterprises/_current.html.erb b/app/views/enterprises/_current.html.erbindex 06eb4e6d525..765889e4669 100644--- a/app/views/enterprises/_current.html.erb+++ b/app/views/enterprises/_current.html.erb@@ -7,8 +7,7 @@data-starts-at="<%= format_date @current_token.starts_at %>"data-expires-at="<%= (!@current_token.will_expire?) ? t('js.admin.enterprise.upsale.unlimited') : (format_date @current_token.expires_at) %>"data-is-expired="<%= @current_token.expired?(reprieve: false) %>"- data-reprieve-days-left="<%= @current_token.reprieve_days_left %>"->+ data-reprieve-days-left="<%= @current_token.reprieve_days_left %>"></opce-enterprise-active-saved-trial><%= form_tag(enterprise_path,diff --git a/app/views/enterprises/_info.html.erb b/app/views/enterprises/_info.html.erbindex 2d83f73f2c0..c4462c30a8c 100644--- a/app/views/enterprises/_info.html.erb+++ b/app/views/enterprises/_info.html.erb@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<%= link_to t(quote_link[:label]),quote_link[:href],target: '_blank',- class: 'button -highlight-inverted'%>+ class: 'button -highlight-inverted' %></div><%= static_link_to :contact %>diff --git a/app/views/enumerations/_form.html.erb b/app/views/enumerations/_form.html.erbindex 8e0fe7566e9..2db450fb0af 100644--- a/app/views/enumerations/_form.html.erb+++ b/app/views/enumerations/_form.html.erb@@ -49,6 +49,6 @@ See COPYRIGHT and LICENSE files for more details.object: @enumeration,type: 'enumeration',label: @enumeration.color_label- } %>+ } %><% end %></section>diff --git a/app/views/filters/_boolean.html.erb b/app/views/filters/_boolean.html.erbindex c4b28a2b49a..ef4a18c05f9 100644--- a/app/views/filters/_boolean.html.erb+++ b/app/views/filters/_boolean.html.erb@@ -7,7 +7,6 @@checked: filter.values.first != 'f',filterName: 'boolean',id: "#{filter.name}_value"- }- %>+ } %></label><div class="advanced-filters--filter-operator" style="visibility: hidden"></div>diff --git a/app/views/filters/_text.html.erb b/app/views/filters/_text.html.erbindex 721feffc8cd..be61aa56822 100644--- a/app/views/filters/_text.html.erb+++ b/app/views/filters/_text.html.erb@@ -30,7 +30,7 @@data: {'filter--filters-form-target': 'simpleValue','filter-name': filter.name- }%>+ } %></div><% elsif filter.type == :float %><div>@@ -41,7 +41,7 @@data: {'filter--filters-form-target': 'simpleValue','filter-name': filter.name- }%>+ } %></div><% end %></div>diff --git a/app/views/filters/date/_between_dates.html.erb b/app/views/filters/date/_between_dates.html.erbindex b1b0f46240a..3ce19d116ca 100644--- a/app/views/filters/date/_between_dates.html.erb+++ b/app/views/filters/date/_between_dates.html.erb@@ -5,14 +5,12 @@value: from_value,id: "between-dates-from-value-#{filter.name}",name: "from_value"- }- %>+ } %><span><%= t(:label_date_to) %>:</span><%= angular_component_tag 'opce-basic-single-date-picker',inputs: {value: to_value,id: "between-dates-to-value-#{filter.name}",name: "to_value"- }- %>+ } %></div>diff --git a/app/views/filters/date/_on_date.html.erb b/app/views/filters/date/_on_date.html.erbindex 7cc2a8fbd35..6e8e3332fb8 100644--- a/app/views/filters/date/_on_date.html.erb+++ b/app/views/filters/date/_on_date.html.erb@@ -5,7 +5,6 @@value: value,id: "on-date-value-#{filter.name}",name: "value"- }- %>+ } %></div></div>diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erbindex db71092e464..175b15ef00c 100644--- a/app/views/forums/edit.html.erb+++ b/app/views/forums/edit.html.erb@@ -32,7 +32,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_breadcrumbs( [{ href: project_overview_path(@project.id), text: @project.name },{ href: project_forums_path(@project.id), text: t(:label_forum_plural) },@forum.name- ]) end %>+ ]) end+%><%= labelled_tabular_form_for [@project, @forum] do |f| %><%= render partial: 'form', locals: { f: f } %>diff --git a/app/views/forums/index.html.erb b/app/views/forums/index.html.erbindex b228b5921e3..39d4c591c2a 100644--- a/app/views/forums/index.html.erb+++ b/app/views/forums/index.html.erb@@ -33,7 +33,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { t(:label_forum_plural) }header.with_breadcrumbs( [{ href: project_overview_path(@project.id), text: @project.name },t(:label_forum_plural)- ]) end %>+ ]) end+%><% if User.current.allowed_in_project?(:manage_forums, @project) %><%=@@ -108,20 +109,20 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:button_sort)%>+ <%= t(:button_sort) %></span></div></div></th><th><div class="generic-table--empty-header"></div></th>- <% end %>+ <% end %></tr></thead><tbody><% for forum in @forums %><tr><td class="-no-ellipsis">- <%= link_to h(forum.name), { action: 'show', id: forum }, class: "forum" %><br />+ <%= link_to h(forum.name), { action: 'show', id: forum }, class: "forum" %><br><%= format_text(forum.description) %></td><td><%= forum.topics_count %></td>@@ -129,7 +130,7 @@ See COPYRIGHT and LICENSE files for more details.<td><% if forum.last_message %><% forum.last_message %>- <%= authoring forum.last_message.created_at, forum.last_message.author %><br />+ <%= authoring forum.last_message.created_at, forum.last_message.author %><br><%= link_to_message forum.last_message, no_root: true %><% end %></td>diff --git a/app/views/forums/new.html.erb b/app/views/forums/new.html.erbindex 97f41c0d1be..af34d8f3aa5 100644--- a/app/views/forums/new.html.erb+++ b/app/views/forums/new.html.erb@@ -34,7 +34,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_forums_path(@project.id), text: t(:label_forum_plural) },t(:label_forum_new)])- end %>+ end+%><%= labelled_tabular_form_for [@project, @forum] do |f| %><%= render partial: 'form', locals: {f: f} %><%= f.button t(:button_create), class: 'button -primary -with-icon icon-checkmark' %>diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erbindex 3f0ddfa7389..9a1c12e822b 100644--- a/app/views/forums/show.html.erb+++ b/app/views/forums/show.html.erb@@ -40,7 +40,7 @@ See COPYRIGHT and LICENSE files for more details.} do |f| %><%= render partial: 'messages/form', locals: { f: f } %>- <hr class="form--separator"/>+ <hr class="form--separator"><%= styled_button_tag t(:button_create), class: '-primary -with-icon icon-checkmark' %><%= link_to t(:button_cancel), '', class: 'cancel-add-message-button button -with-icon icon-cancel' %><% csp_onclick('jQuery("#add-message").hide();', '.cancel-add-message-button') %>@@ -49,7 +49,6 @@ See COPYRIGHT and LICENSE files for more details.<% end %></div>-<%=render(Primer::OpenProject::PageHeader.new) do |header|header.with_title { @forum.name }@@ -138,8 +137,8 @@ See COPYRIGHT and LICENSE files for more details.<td class="replies"><%= message.replies_count %></td><td class="last_message"><% if message.last_reply %>- <%= authoring message.last_reply.created_at, message.last_reply.author %><br/>- <br/>+ <%= authoring message.last_reply.created_at, message.last_reply.author %><br>+ <br><%= link_to_message message.last_reply, no_root: true %><% end %></td>diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erbindex 4097f27a1c0..e47806abd6a 100644--- a/app/views/groups/_users.html.erb+++ b/app/views/groups/_users.html.erb@@ -49,7 +49,7 @@ See COPYRIGHT and LICENSE files for more details.<%= styled_form_tag(members_of_group_path(@group), method: :post) do %><fieldset class="form--fieldset">- <legend class="form--fieldset-legend"><%=t(:label_user_new)%></legend>+ <legend class="form--fieldset-legend"><%= t(:label_user_new) %></legend><div class="form--field -vertical"><%=angular_component_tag 'opce-user-autocompleter',diff --git a/app/views/groups/index.html.erb b/app/views/groups/index.html.erbindex 2634231994f..dd54f032854 100644--- a/app/views/groups/index.html.erb+++ b/app/views/groups/index.html.erb@@ -75,7 +75,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:label_user_plural)%>+ <%= t(:label_user_plural) %></span></div></div>diff --git a/app/views/groups/new.html.erb b/app/views/groups/new.html.erbindex 233f476a27c..02da1f76c5e 100644--- a/app/views/groups/new.html.erb+++ b/app/views/groups/new.html.erb@@ -29,7 +29,6 @@ See COPYRIGHT and LICENSE files for more details.<% html_title t(:label_administration), t("label_group_new") %>-<%=render(Primer::OpenProject::PageHeader.new) do |header|header.with_title { t(:label_group_new) }@@ -40,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= labelled_tabular_form_for(@group) do |f| %><%= render partial: 'form', locals: { f: f } %><div><%= f.button t(:button_create), class: 'button -primary -with-icon icon-checkmark' %></div>diff --git a/app/views/homescreen/blocks/_administration.html.erb b/app/views/homescreen/blocks/_administration.html.erbindex 85f7f824028..b2baf6e1e27 100644--- a/app/views/homescreen/blocks/_administration.html.erb+++ b/app/views/homescreen/blocks/_administration.html.erb@@ -18,20 +18,20 @@title: t(:label_role_and_permissions) %></li>- <li>+ <li><%= link_to t(:label_work_package_types), types_path,title: t(:label_work_package_types) %></li>- <li>+ <li><%= link_to t(:label_work_package_status), statuses_path,title: t(:label_work_package_status) %></li>- <li>+ <li><%= link_to t(:label_workflow_plural), workflows_path,title: t(:label_workflow_plural) %></li>- <li>+ <li><%= link_to t('attributes.custom_values'), custom_fields_path,title: t('attributes.custom_values') %>diff --git a/app/views/homescreen/blocks/_news.html.erb b/app/views/homescreen/blocks/_news.html.erbindex 54ec263adb5..d3f54bc1362 100644--- a/app/views/homescreen/blocks/_news.html.erb+++ b/app/views/homescreen/blocks/_news.html.erb@@ -9,7 +9,7 @@<%= link_to h(news.title), news_path(news) %></div><div class="widget-box--author news-author"><%= authoring_at format_date(news.created_at), news.author %></div>- <p class="widget-box--additional-info"><%= news.summary %></p>+ <p class="widget-box--additional-info"><%= news.summary %></p></li><% end %></ul>diff --git a/app/views/homescreen/blocks/_projects.html.erb b/app/views/homescreen/blocks/_projects.html.erbindex aedc5da2f65..60e0e223209 100644--- a/app/views/homescreen/blocks/_projects.html.erb+++ b/app/views/homescreen/blocks/_projects.html.erb@@ -22,7 +22,7 @@<p class="widget-box--additional-info"><%= t('homescreen.additional.no_visible_projects') %></p>-<% else %>+<% else %><p class="widget-box--additional-info"><%= t('homescreen.additional.projects') %></p><ul class="widget-box--arrow-links"><% @newest_projects.each do |project| %>diff --git a/app/views/layouts/_common_head.html.erb b/app/views/layouts/_common_head.html.erbindex 1e895933c5f..e7a1a44af69 100644--- a/app/views/layouts/_common_head.html.erb+++ b/app/views/layouts/_common_head.html.erb@@ -1,26 +1,26 @@-<meta http-equiv="content-type" content="text/html; charset=utf-8"/>+<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width"><%= output_title_and_meta_tags %><%= appsignal_frontend_tag %><% relative_url_root = OpenProject::Configuration['rails_relative_url_root'] || '' %>-<meta name="app_title" content="<%= page_title(*html_title_parts) %>"/>-<meta name="app_base_path" content="<%= relative_url_root %>"/>-<base href="<%= relative_url_root %>/" />+<meta name="app_title" content="<%= page_title(*html_title_parts) %>">+<meta name="app_base_path" content="<%= relative_url_root %>">+<base href="<%= relative_url_root %>/"><% if @project %><meta name="current_project"data-project-name="<%= h @project.name %>"data-project-id="<%= @project.id %>"- data-project-identifier="<%= @project.identifier %>"/>+ data-project-identifier="<%= @project.identifier %>"><% end %><meta name="current_user"data-name="<%= User.current.name %>"data-logged-in="<%= User.current.logged? %>"- data-id="<%= User.current.id %>"/>+ data-id="<%= User.current.id %>">-<% if Setting.demo_projects_available %><meta name="demo_projects_available" content="true"/><% end %>-<% if Setting.boards_demo_data_available %><meta name="boards_demo_data_available" content="true"/><% end %>-<% if Setting.demo_view_of_type_team_planner_seeded %><meta name="demo_view_of_type_team_planner_seeded" content="true"/><% end %>+<% if Setting.demo_projects_available %><meta name="demo_projects_available" content="true"><% end %>+<% if Setting.boards_demo_data_available %><meta name="boards_demo_data_available" content="true"><% end %>+<% if Setting.demo_view_of_type_team_planner_seeded %><meta name="demo_view_of_type_team_planner_seeded" content="true"><% end %><%= csrf_meta_tags %><%= secure_header_csp_meta_tag %><%= initializer_meta_tag %>diff --git a/app/views/layouts/only_logo.html.erb b/app/views/layouts/only_logo.html.erbindex 483582c89f5..c54ee2c4a14 100644--- a/app/views/layouts/only_logo.html.erb+++ b/app/views/layouts/only_logo.html.erb@@ -36,8 +36,7 @@ See COPYRIGHT and LICENSE files for more details.</head><bodyclass="<%= body_css_classes %>"- <%= user_theme_data_attributes %>->+ <%= user_theme_data_attributes %>><div id="wrapper"><header class="op-app-header<%= ' op-app-header_development' if OpenProject::Configuration.development_highlight_enabled? %>"><div class="op-app-header--center op-logo">diff --git a/app/views/ldap_auth_sources/_form.html.erb b/app/views/ldap_auth_sources/_form.html.erbindex 37005bbce5a..dd06349b105 100644--- a/app/views/ldap_auth_sources/_form.html.erb+++ b/app/views/ldap_auth_sources/_form.html.erb@@ -47,7 +47,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="op-toast -warning"><div class="op-toast--content"><%= t(:label_seeded_from_env_warning) %>- <br/>+ <br><%= link_to t('ldap_auth_sources.back_to_index'), { action: :index } %></div></div>diff --git a/app/views/ldap_auth_sources/new.html.erb b/app/views/ldap_auth_sources/new.html.erbindex 75dfaf01cc4..e31037644ef 100644--- a/app/views/ldap_auth_sources/new.html.erb+++ b/app/views/ldap_auth_sources/new.html.erb@@ -39,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= labelled_tabular_form_for @ldap_auth_source, as: :ldap_auth_source do |f| %><%= render partial: 'form', locals: { f: f } %><%= styled_button_tag t(:button_create), class: '-primary -with-icon icon-checkmark' %>diff --git a/app/views/mailer/_notification_row.html.erb b/app/views/mailer/_notification_row.html.erbindex 22f4b566617..484ac31d4bf 100644--- a/app/views/mailer/_notification_row.html.erb+++ b/app/views/mailer/_notification_row.html.erb@@ -28,17 +28,17 @@<%= placeholder_cell('8px', vertical: true) %><td width="100%" style="color: #878787;">#<%= work_package.id %> - <%= work_package.project %>- <%= ' - ' unless unique_reasons.length === 1 && unique_reasons.first.nil? %>+ <%= ' - ' unless unique_reasons.length === 1 && unique_reasons.first.nil? %><% unique_reasons.each_with_index do |reason, index| %><%= I18n.t(:"mail.work_packages.reason.#{reason || :unknown}",- default: '') %><%= ', ' unless unique_reasons.size-1 == index %>+ default: '') %><%= ', ' unless unique_reasons.size-1 == index %><% end %></td><td><table <%= placeholder_table_styles %>><tr>- <% if show_count %>+ <% if show_count %><td style="background-color: #00A3FF;color: white;border-radius: 10px;diff --git a/app/views/members/_autocomplete_for_member.html.erb b/app/views/members/_autocomplete_for_member.html.erbindex bf3049a60e5..c476d329245 100644--- a/app/views/members/_autocomplete_for_member.html.erb+++ b/app/views/members/_autocomplete_for_member.html.erb@@ -30,7 +30,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="grid-block"><div class="grid-block medium-4" id="principal_results"><fieldset class="form--fieldset principals medium-11">- <legend class="form--fieldset-legend"><%="#{t(:label_user_plural)}/#{t(:label_group_plural)}" %></legend>+ <legend class="form--fieldset-legend"><%= "#{t(:label_user_plural)}/#{t(:label_group_plural)}" %></legend><% if principals.empty? %><%= t('notice_no_principals_found') %><% else %>diff --git a/app/views/members/_member_form.html.erb b/app/views/members/_member_form.html.erbindex b5ce3f3ca19..8679c438dde 100644--- a/app/views/members/_member_form.html.erb+++ b/app/views/members/_member_form.html.erb@@ -46,8 +46,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="grid-content medium-5 small-12 collapse -flex"><divclass="form--field"- data-user-limit-target="inviteUserForm"- >+ data-user-limit-target="inviteUserForm"><%user_id_title = I18n.t(:label_principal_search)@@ -64,8 +63,7 @@ See COPYRIGHT and LICENSE files for more details.url: autocomplete_for_member_project_members_path + '.json',appendTo: "body",multiple: true- }- %>+ } %></div></div><div class="grid-content medium-8 small-12 -flex -with-button">@@ -76,8 +74,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {attribute: 'members',attributeScope: 'Project'- }- %>+ } %><% end %><div class="form--field-container"><div class="form--select-container -auto">diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erbindex 499d604e9cd..55ee1461fff 100644--- a/app/views/messages/_form.html.erb+++ b/app/views/messages/_form.html.erb@@ -36,8 +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/messages/edit.html.erb b/app/views/messages/edit.html.erbindex f906ee6ed30..593dd0edb3f 100644--- a/app/views/messages/edit.html.erb+++ b/app/views/messages/edit.html.erb@@ -34,7 +34,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_forums_path(@project), text: t(:label_forum_plural) },{ href: project_forum_path(@project, @forum), text: @forum.name },@message.subject])- end %>+ end+%><%= labelled_tabular_form_for @message,url: topic_path(@message),@@ -47,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.} do |f| %><%= render partial: 'form', locals: { f: f, replying: [email protected]? } %>- <hr class="form--separator"/>+ <hr class="form--separator"><%= f.button t(:button_save), class: 'button -primary -with-icon icon-checkmark' %><%= link_to t(:button_cancel), topic_path(@message), class: 'button -with-icon icon-cancel' %>diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erbindex 3b6e0879f52..4410ace0951 100644--- a/app/views/messages/new.html.erb+++ b/app/views/messages/new.html.erb@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.} do |f| %><%= render partial: 'messages/form', locals: { f: f } %>- <hr class="form--separator"/>+ <hr class="form--separator"><%= f.button t(:button_create), class: 'button -primary -with-icon icon-checkmark' %><%= link_to t(:button_cancel), project_forum_path(@project, @forum), class: 'button -with-icon icon-cancel' %>diff --git a/app/views/my/_password_form_fields.html.erb b/app/views/my/_password_form_fields.html.erbindex cd8b75d4d0c..f63f61509f7 100644--- a/app/views/my/_password_form_fields.html.erb+++ b/app/views/my/_password_form_fields.html.erb@@ -84,4 +84,3 @@ See COPYRIGHT and LICENSE files for more details.scope: [:activerecord, :errors, :models, :user, :attributes, :password, :match]) %></div></div>-diff --git a/app/views/my/access_token.html.erb b/app/views/my/access_token.html.erbindex 0051eafd106..d34b9152c74 100644--- a/app/views/my/access_token.html.erb+++ b/app/views/my/access_token.html.erb@@ -39,17 +39,13 @@ See COPYRIGHT and LICENSE files for more details.<%= render ::My::AccessToken::APITokensSectionComponent.new(api_tokens: @user.api_tokens) %><%= render partial: 'my/access_token_partials/icalendar_tokens_section',- locals: { ical_tokens_grouped_by_query: @ical_tokens_grouped_by_query }-%>+ locals: { ical_tokens_grouped_by_query: @ical_tokens_grouped_by_query } %><%= render partial: 'my/access_token_partials/oauth_tokens_section',- locals: { granted_applications: granted_applications }-%>+ locals: { granted_applications: granted_applications } %><%= render partial: 'my/access_token_partials/rss_tokens_section',- locals: { rss_token: @user.rss_token }-%>+ locals: { rss_token: @user.rss_token } %><%= render partial: 'my/access_token_partials/storage_tokens_section',- locals: { storage_tokens: @storage_tokens }-%>+ locals: { storage_tokens: @storage_tokens } %><div class="generic-table--container"><div class="generic-table--results-container"><table class="generic-table" data-controller="table-highlighting">diff --git a/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb b/app/views/my/access_token_partials/_icalendar_tokens_section.html.erbindex b2700560199..a761ca59ef3 100644--- a/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb@@ -50,8 +50,7 @@ See COPYRIGHT and LICENSE files for more details.User.human_attribute_name(:created_at),t('my_account.access_tokens.headers.expiration')]- }- %>+ } %><tbody><% ical_tokens_grouped_by_query.each do |query_id, tokens| %><% tokens.sort_by(&:created_at).each do |token| %>@@ -62,8 +61,7 @@ See COPYRIGHT and LICENSE files for more details.project_calendar_url(id: query_id,project_id: token.query.project_id- )- %>+ ) %></td><td class="-w-rel-20 -mw-abs-200" data-test-selector="ical-token-row-<%= token.id %>-project-name"><%= token.query.project.name %>diff --git a/app/views/my/access_token_partials/_oauth_tokens_section.html.erb b/app/views/my/access_token_partials/_oauth_tokens_section.html.erbindex 846c288f25d..7514a3ddc5b 100644--- a/app/views/my/access_token_partials/_oauth_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_oauth_tokens_section.html.erb@@ -47,8 +47,7 @@ See COPYRIGHT and LICENSE files for more details.User.human_attribute_name(:created_at),t('my_account.access_tokens.headers.expiration')]- }- %>+ } %><tbody><% granted_applications.each do |application, tokens| %><% latest = tokens.sort_by(&:created_at).last %>diff --git a/app/views/my/access_token_partials/_rss_tokens_section.html.erb b/app/views/my/access_token_partials/_rss_tokens_section.html.erbindex 45e7389635a..b6cf8549834 100644--- a/app/views/my/access_token_partials/_rss_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_rss_tokens_section.html.erb@@ -48,8 +48,7 @@ See COPYRIGHT and LICENSE files for more details.User.human_attribute_name(:created_at),t('my_account.access_tokens.headers.expiration')]- }- %>+ } %><tbody><tr><td class="-w-rel-60" data-test-selector="rss-token-row-name"><%= t("my_account.access_tokens.rss.static_token_name") %></td>diff --git a/app/views/my/access_token_partials/_storage_tokens_section.html.erb b/app/views/my/access_token_partials/_storage_tokens_section.html.erbindex 7439402967f..b6b2bd33e98 100644--- a/app/views/my/access_token_partials/_storage_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_storage_tokens_section.html.erb@@ -47,8 +47,7 @@ See COPYRIGHT and LICENSE files for more details.User.human_attribute_name(:created_at),t('my_account.access_tokens.headers.expiration')]- }- %>+ } %><tbody><% storage_tokens.each do |token| %><tr id="storage-oauth-token-<%= token.id %>">diff --git a/app/views/news/edit.html.erb b/app/views/news/edit.html.erbindex 0509feb4519..aa81b13f496 100644--- a/app/views/news/edit.html.erb+++ b/app/views/news/edit.html.erb@@ -40,7 +40,7 @@ See COPYRIGHT and LICENSE files for more details.<%= labelled_tabular_form_for @news, html: { id: 'news-form' } do |f| %><%= render partial: 'form', locals: { f: f } %>- <hr class="form--separator" />+ <hr class="form--separator"><%= styled_button_tag t(:button_save), class: '-primary -with-icon icon-checkmark' %><%= link_to t(:button_cancel), news_path(@news), class: 'button -with-icon icon-cancel' %><% end %>diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erbindex 6b18570a3df..8391f4d4a9d 100644--- a/app/views/news/index.html.erb+++ b/app/views/news/index.html.erb@@ -31,7 +31,7 @@ See COPYRIGHT and LICENSE files for more details.<%managable = User.current.allowed_in_project?(:manage_news, @project)- %>+%><%=render Primer::OpenProject::PageHeader.new do |header|diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erbindex 9b0fd627fb1..aeb4a846c27 100644--- a/app/views/news/show.html.erb+++ b/app/views/news/show.html.erb@@ -71,7 +71,7 @@ See COPYRIGHT and LICENSE files for more details.<%= labelled_tabular_form_for @news, html: { id: 'news-form' } do |f| %><%= render partial: 'form', locals: { f: f } %><%= styled_button_tag t(:button_save), class: '-primary -with-icon icon-checkmark' %>- <%= link_to_function t(:button_cancel), 'jQuery("#edit-news").hide()', class: 'button -with-icon icon-cancel'%>+ <%= link_to_function t(:button_cancel), 'jQuery("#edit-news").hide()', class: 'button -with-icon icon-cancel' %><% end %></div><% end %>@@ -84,7 +84,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="op-uc-container"><%= format_text(@news.description, object: @news) %></div>-<br />+<br><div id="comments" class="news--comments comments"><h3 class="icon-context icon-quote"><%= t(:label_comment_plural) %></h3><% @comments.each do |comment| %>diff --git a/app/views/oauth/applications/_form.html.erb b/app/views/oauth/applications/_form.html.erbindex 3f78df57fc9..4aa04e8696e 100644--- a/app/views/oauth/applications/_form.html.erb+++ b/app/views/oauth/applications/_form.html.erb@@ -47,7 +47,7 @@ See COPYRIGHT and LICENSE files for more details.<%= f.text_area :redirect_uri, required: true, container_class: '-middle' %><span class="form--field-instructions"><%= t('oauth.application.instructions.redirect_uri_html') %>- <br/>+ <br><code><%= ::Doorkeeper.configuration.native_redirect_uri %></code></span></div>@@ -82,7 +82,7 @@ See COPYRIGHT and LICENSE files for more details.<p><%= t('oauth.client_credentials_impersonation_html',client_credentials_flow_link: static_link_to(:client_credentials_code_flow),- authorization_code_flow_link: static_link_to(:oauth_authorization_code_flow)) %>+ authorization_code_flow_link: static_link_to(:oauth_authorization_code_flow)) %></p><div class="form--field -visible-overflow">@@ -103,7 +103,7 @@ See COPYRIGHT and LICENSE files for more details.</div><p class="form--field-instructions"><%= t('oauth.application.instructions.client_credential_user_id') %>- <br/>+ <br><strong><%= t('oauth.client_credentials_impersonation_warning') %></strong></p><% if @application.client_credentials_user_id %>diff --git a/app/views/oauth/applications/show.html.erb b/app/views/oauth/applications/show.html.erbindex c2f07ed2595..ff9467abb32 100644--- a/app/views/oauth/applications/show.html.erb+++ b/app/views/oauth/applications/show.html.erb@@ -45,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.) do %><p><code><%= flash[:_application_secret] %></code>- <br/>+ <br><strong><%= t 'oauth.client_secret_notice' %></strong></p><% end %>@@ -56,7 +56,7 @@ See COPYRIGHT and LICENSE files for more details.key: t('oauth.client_credentials_impersonation_set_to')) do %><%= link_to_user User.find_by(id: user_id) %>- <br/>+ <br><strong><%= t('oauth.client_credentials_impersonation_warning') %></strong><% end %><% end %>diff --git a/app/views/onboarding/_configuration_modal.html.erb b/app/views/onboarding/_configuration_modal.html.erbindex 2f2b730c0c7..0aa5172fac8 100644--- a/app/views/onboarding/_configuration_modal.html.erb+++ b/app/views/onboarding/_configuration_modal.html.erb@@ -50,8 +50,7 @@ See COPYRIGHT and LICENSE files for more details.class="button button_no-margin spot-action-bar--action spot-modal--cancel-button"data-tour-selector="modal-close-button"dynamic-content-modal-close-button- title=<%= t(:button_close) %>- ><%= t(:button_close) %></button>+ title=<%= t(:button_close) %>><%= t(:button_close) %></button><%= styled_button_tag t(:button_save), class: 'button_no-margin -primary -with-icon icon-checkmark spot-action-bar--action' %></div></div>diff --git a/app/views/onboarding/_menu_item.html.erb b/app/views/onboarding/_menu_item.html.erbindex d81276db861..c749acbe3b4 100644--- a/app/views/onboarding/_menu_item.html.erb+++ b/app/views/onboarding/_menu_item.html.erb@@ -31,8 +31,7 @@ See COPYRIGHT and LICENSE files for more details.data-augmented-model-wrapperdata-activation-selector=".onboarding-modal--activation-link"data-modal-iframe-url="<%= OpenProject::Configuration.onboarding_video_url %>"- data-modal-class-name="onboarding-modal"->+ data-modal-class-name="onboarding-modal"><%= link_to t(:label_introduction_video),'',title: t(:label_introduction_video),diff --git a/app/views/onboarding/_onboarding_video_modal.html.erb b/app/views/onboarding/_onboarding_video_modal.html.erbindex 696ef0da788..93a5c356c69 100644--- a/app/views/onboarding/_onboarding_video_modal.html.erb+++ b/app/views/onboarding/_onboarding_video_modal.html.erb@@ -48,8 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<buttonclass="button button_no-margin spot-action-bar--action spot-modal--cancel-button"dynamic-content-modal-close-button- title=<%= t(:button_close) %>- ><%= t(:button_close) %></button>+ title=<%= t(:button_close) %>><%= t(:button_close) %></button></div></div></div>diff --git a/app/views/placeholder_users/deletion_info.html.erb b/app/views/placeholder_users/deletion_info.html.erbindex 3512953526c..4708ae236e1 100644--- a/app/views/placeholder_users/deletion_info.html.erb+++ b/app/views/placeholder_users/deletion_info.html.erb@@ -57,7 +57,7 @@ See COPYRIGHT and LICENSE files for more details.).html_safe %></p><div class="danger-zone--verification">- <input type="text" name="name_verification"/>+ <input type="text" name="name_verification"><%= styled_button_tag '', class: '-primary', disabled: true doconcat content_tag :i, '', class: 'button--icon icon-delete'concat content_tag :span, t(:button_delete), class: 'button--text'diff --git a/app/views/placeholder_users/edit.html.erb b/app/views/placeholder_users/edit.html.erbindex f644b403763..df3fa5fde4b 100644--- a/app/views/placeholder_users/edit.html.erb+++ b/app/views/placeholder_users/edit.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title(t(:label_administration), "#{t(:label_edit)} #{PlaceholderUser.model_name.human} #{h(@placeholder_user.name)}") -%><% tabs = tabs_for_key(:placeholder_user, placeholder_user: @placeholder_user) %>diff --git a/app/views/placeholder_users/index.html.erb b/app/views/placeholder_users/index.html.erbindex 0f551607a4d..4c64fb1e206 100644--- a/app/views/placeholder_users/index.html.erb+++ b/app/views/placeholder_users/index.html.erb@@ -64,6 +64,5 @@ See COPYRIGHT and LICENSE files for more details.feature_description: I18n.t('placeholder_users.upsale.description'),feature_reference: 'placeholder_users',feature_video: 'enterprise/placeholder_users.mp4'- }- %>+ } %><% end %>diff --git a/app/views/placeholder_users/show.html.erb b/app/views/placeholder_users/show.html.erbindex 2b98f6bf6cf..0b597972912 100644--- a/app/views/placeholder_users/show.html.erb+++ b/app/views/placeholder_users/show.html.erb@@ -41,12 +41,12 @@ See COPYRIGHT and LICENSE files for more details.<%= call_hook :view_account_left_middle, placeholder_user: @placeholder_user %><% unless @memberships.empty? %>- <h3><%=t(:label_project_plural)%></h3>+ <h3><%= t(:label_project_plural) %></h3><ul><% for membership in @memberships %><li><%= link_to_project(membership.project) %>- (<%=h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_at) %>)+ (<%= h membership.roles.sort.collect(&:to_s).join(', ') %>, <%= format_date(membership.created_at) %>)</li><% end %></ul>diff --git a/app/views/principals/_assigned_global_role.html.erb b/app/views/principals/_assigned_global_role.html.erbindex a2465072abf..2c0b37c285f 100644--- a/app/views/principals/_assigned_global_role.html.erb+++ b/app/views/principals/_assigned_global_role.html.erb@@ -27,9 +27,9 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<tr id="assigned_global_role_<%= role.id%>">+<tr id="assigned_global_role_<%= role.id %>"><td class="role">- <%=h role %>+ <%= h role %></td><td class="buttons"><%= global_member_role_deletion_link(member, role) if member.deletable_role?(role) %>diff --git a/app/views/principals/_available_global_role.html.erb b/app/views/principals/_available_global_role.html.erbindex 1260d33929c..605487b8b25 100644--- a/app/views/principals/_available_global_role.html.erb+++ b/app/views/principals/_available_global_role.html.erb@@ -27,12 +27,12 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<div class="principal_role_option form--field" id= "principal_role_option_<%= h(role.id) %>">+<div class="principal_role_option form--field" id="principal_role_option_<%= h(role.id) %>"><label class="form--label-with-check-box" for="principal_role_role_ids_<%= role.id %>"><%= check_box_tag 'membership[role_ids][]',role.id,false,id: "principal_role_role_ids_#{role.id}" %>- <%= h(role)%>+ <%= h(role) %></label></div>diff --git a/app/views/principals/_available_global_roles.html.erb b/app/views/principals/_available_global_roles.html.erbindex c4510e0b7dd..0ff10ddd3c9 100644--- a/app/views/principals/_available_global_roles.html.erb+++ b/app/views/principals/_available_global_roles.html.erb@@ -50,7 +50,7 @@ See COPYRIGHT and LICENSE files for more details.<% available_roles.each do |role| %><%= render partial: 'principals/available_global_role', locals: {role: role} %><% end %>- <p><br/><%= styled_button_tag t(:button_add), class: '-with-icon icon-checkmark' %></p>+ <p><br><%= styled_button_tag t(:button_add), class: '-with-icon icon-checkmark' %></p><% end %></span><% end %>diff --git a/app/views/project_mailer/copy_project_succeeded.html.erb b/app/views/project_mailer/copy_project_succeeded.html.erbindex ac8a0df8cf9..d777c67853a 100644--- a/app/views/project_mailer/copy_project_succeeded.html.erb+++ b/app/views/project_mailer/copy_project_succeeded.html.erb@@ -32,6 +32,6 @@ See COPYRIGHT and LICENSE files for more details.<p><%= t('copy_project.text.succeeded', source_project_name: @source_project.name, target_project_name: @target_project.name) %></p><% unless @errors.empty? %>- <hr />+ <hr><%= render partial: 'user_mailer/errors', locals: { errors: @errors } %><% end %>diff --git a/app/views/project_mailer/delete_project_completed.html.erb b/app/views/project_mailer/delete_project_completed.html.erbindex fd363905875..681e922d64e 100644--- a/app/views/project_mailer/delete_project_completed.html.erb+++ b/app/views/project_mailer/delete_project_completed.html.erb@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.<p><%= t('projects.delete.completed_text', name: @project.name) %><% if @dependent_projects.any? %>- <br />+ <br><%= t('projects.delete.completed_text_children') %><ul><% @dependent_projects.each do |subproject| %>diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erbindex d3e510aa7fd..3a0b9d25452 100644--- a/app/views/projects/copy.html.erb+++ b/app/views/projects/copy.html.erb@@ -35,5 +35,6 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { title }header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },- title ]) end %>+ title ]) end+%><%= angular_component_tag "opce-copy-project" %>diff --git a/app/views/projects/destroy_info.html.erb b/app/views/projects/destroy_info.html.erbindex c9ad867ce15..5d3673c778f 100644--- a/app/views/projects/destroy_info.html.erb+++ b/app/views/projects/destroy_info.html.erb@@ -31,7 +31,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { t('project.destroy.title', name: @project_to_destroy) }header.with_breadcrumbs([{ href: project_overview_path(@project_to_destroy.id), text: @project_to_destroy.name },{ href: project_settings_general_path(@project_to_destroy.id), text: I18n.t("label_project_settings") },- t('project.destroy.title', name: @project_to_destroy)]) end %>+ t('project.destroy.title', name: @project_to_destroy)]) end+%><%= styled_form_tag(project_path(@project_to_destroy),class: 'danger-zone',@@ -44,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.<p><%= t('project.destroy.confirmation', identifier: @project_to_destroy.identifier) %><% if @project_to_destroy.descendants.any? %>- <br/>+ <br><% descendants = h(@project_to_destroy.descendants.collect { |p| p.to_s }.join(', ')) %><%= t('project.destroy.subprojects_confirmation', value: "<strong>#{h(descendants)}</strong>").html_safe %><% end %>diff --git a/app/views/projects/identifier/show.html.erb b/app/views/projects/identifier/show.html.erbindex 4cecc698dfe..3720e66d1f6 100644--- a/app/views/projects/identifier/show.html.erb+++ b/app/views/projects/identifier/show.html.erb@@ -32,7 +32,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { t('project.identifier.title') }header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },- t('project.identifier.title')]) end %>+ t('project.identifier.title')]) end+%><%= error_messages_for @project %>diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erbindex 8acece15b81..abefbf9cc75 100644--- a/app/views/projects/index.html.erb+++ b/app/views/projects/index.html.erb@@ -35,8 +35,7 @@ See COPYRIGHT and LICENSE files for more details.state:,params:)- )- %>+ ) %><%= render(Projects::IndexSubHeaderComponent.new(query:, current_user:, disable_buttons: state === :rename)) %><%= render Projects::TableComponent.new(query:,diff --git a/app/views/projects/settings/categories/show.html.erb b/app/views/projects/settings/categories/show.html.erbindex b9056169ce4..e0f5ba69e25 100644--- a/app/views/projects/settings/categories/show.html.erb+++ b/app/views/projects/settings/categories/show.html.erb@@ -33,8 +33,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },t(:label_work_package_category_plural)])- end %>-+ end+%><% if current_user.allowed_in_project?(:manage_categories, @project) %><%=@@ -87,8 +87,8 @@ See COPYRIGHT and LICENSE files for more details.<% for category in @project.categories %><% unless category.new_record? %><tr>- <td><%=h(category.name) %></td>- <td><%=h(category.assigned_to.name) if category.assigned_to %></td>+ <td><%= h(category.name) %></td>+ <td><%= h(category.assigned_to.name) if category.assigned_to %></td><td class="buttons"><%= link_to_if_authorized '',{ controller: '/categories', action: 'edit', id: category },diff --git a/app/views/projects/settings/modules/_form.html.erb b/app/views/projects/settings/modules/_form.html.erbindex f6acd851047..ac81eaeb97f 100644--- a/app/views/projects/settings/modules/_form.html.erb+++ b/app/views/projects/settings/modules/_form.html.erb@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field"><label class="form--label" for="project_enabled_module_names_<%= name %>">- <%= l_or_humanize(name, prefix: "project_module_") %>+ <%= l_or_humanize(name, prefix: "project_module_") %><% if EnterpriseToken.show_banners? && OpenProject::AccessControl.module_enterprise_feature?(name) %><%= spot_icon('enterprise-addons',inline: true,@@ -45,8 +45,7 @@ See COPYRIGHT and LICENSE files for more details.name,@project.module_enabled?(name),l_or_humanize(name, prefix: "project_module_"),- no_label: true- %>+ no_label: true %></div></div><% end %>diff --git a/app/views/projects/settings/repository/_vendor_form.html.erb b/app/views/projects/settings/repository/_vendor_form.html.erbindex ac7b8e23ddd..75017be78a6 100644--- a/app/views/projects/settings/repository/_vendor_form.html.erb+++ b/app/views/projects/settings/repository/_vendor_form.html.erb@@ -30,9 +30,8 @@ See COPYRIGHT and LICENSE files for more details.<% scm_types = repository.class.available_types %><div class="form--fieldset attributes-group -toggleable"- data-repository-settings-target="scmTypeSwitch"- >- <% scm_types.each do |type|%>+ data-repository-settings-target="scmTypeSwitch">+ <% scm_types.each do |type| %><div class="form--field"><%= styled_label_tag type, t("repositories.#{@repository.vendor}.#{type}_title") %><div class="form--field-container">@@ -43,13 +42,12 @@ See COPYRIGHT and LICENSE files for more details.autofocus: true,data: {action: 'repository-settings#toggleContent'- }- %>+ } %></div></div><% end %>- <% scm_types.each do |type|%>+ <% scm_types.each do |type| %><%= render partial: "projects/settings/repository/vendor_attribute_groups",locals: { existing: false, alone: scm_types.length == 1,vendor: @repository.vendor, type: type,diff --git a/app/views/projects/settings/repository/show.html.erb b/app/views/projects/settings/repository/show.html.erbindex 26d5542ec93..d9ec807b248 100644--- a/app/views/projects/settings/repository/show.html.erb+++ b/app/views/projects/settings/repository/show.html.erb@@ -48,8 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<fieldsetclass="form--fieldset -with-control"data-controller="repository-settings"- data-application-target="dynamic"- >+ data-application-target="dynamic"><legend class="form--fieldset-legend"><%= t(:label_available_project_repositories) %></legend>diff --git a/app/views/projects/settings/repository/subversion/_existing.html.erb b/app/views/projects/settings/repository/subversion/_existing.html.erbindex 06a8cd99d16..45aa150980d 100644--- a/app/views/projects/settings/repository/subversion/_existing.html.erb+++ b/app/views/projects/settings/repository/subversion/_existing.html.erb@@ -40,10 +40,10 @@ See COPYRIGHT and LICENSE files for more details.<code>https://</code><code>svn://</code><code>svn+[tunnelscheme]://</code>- <br/>+ <br></div></div>-<hr/>+<hr><div class="form--field"><%= form.text_field(:login,size: 30,@@ -59,8 +59,7 @@ See COPYRIGHT and LICENSE files for more details.name: 'ignore',id: 'repository-password-placeholder',value: ((repository.new_record? || repository.password.blank?) ? '' : ('x' * 15)),- container_class: '-middle')- %>+ container_class: '-middle') %><%=content_for(:additional_js_dom_ready) do"jQuery('#repository-password-placeholder')diff --git a/app/views/projects/settings/storage/show.html.erb b/app/views/projects/settings/storage/show.html.erbindex d2f3de25dc9..464e82a5525 100644--- a/app/views/projects/settings/storage/show.html.erb+++ b/app/views/projects/settings/storage/show.html.erb@@ -32,7 +32,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_title { t(:label_required_disk_storage) }header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },- t(:label_required_disk_storage)]) end %>+ t(:label_required_disk_storage)]) end+%><section class="form--section"><% if storage['modules'].empty? %>diff --git a/app/views/projects/settings/types/_form.html.erb b/app/views/projects/settings/types/_form.html.erbindex 99adecdc612..f8986a91608 100644--- a/app/views/projects/settings/types/_form.html.erb+++ b/app/views/projects/settings/types/_form.html.erb@@ -93,7 +93,7 @@ See COPYRIGHT and LICENSE files for more details.</td><td><%= icon_for_type(type) %>- <%=h type.name %>+ <%= h type.name %></td><td class='center'><%= checked_image(type.is_in_roadmap) %>diff --git a/app/views/projects/settings/types/show.html.erb b/app/views/projects/settings/types/show.html.erbindex fd28b8ce8ce..acfc7fc279c 100644--- a/app/views/projects/settings/types/show.html.erb+++ b/app/views/projects/settings/types/show.html.erb@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %>- <br/>+ <br><% else %><%= no_results_box custom_title: t('projects.settings.types.no_results_title_text') %><% end %>diff --git a/app/views/projects/settings/versions/show.html.erb b/app/views/projects/settings/versions/show.html.erbindex 7b97ddfe464..8add56523b9 100644--- a/app/views/projects/settings/versions/show.html.erb+++ b/app/views/projects/settings/versions/show.html.erb@@ -64,6 +64,5 @@ See COPYRIGHT and LICENSE files for more details.<%= no_results_box action_url: new_project_version_path(@project),display_action: authorize_for('versions', 'new'),custom_title: t('projects.settings.versions.no_results_title_text'),- custom_action_text: t('projects.settings.versions.no_results_content_text')- %>+ custom_action_text: t('projects.settings.versions.no_results_content_text') %><% end %>diff --git a/app/views/repositories/_breadcrumbs.html.erb b/app/views/repositories/_breadcrumbs.html.erbindex 84c0eff4e24..be5b75a8548 100644--- a/app/views/repositories/_breadcrumbs.html.erb+++ b/app/views/repositories/_breadcrumbs.html.erb@@ -38,7 +38,7 @@ dirs.each_with_index do |dir, index|next if dir.blank?link_path << '/' unless link_path.empty?link_path << "#{dir}"- %>+%><span class="repository-breadcrumbs--sep"></span><% if index == dirs.size - 1 %><strong><%= h(dir) %></strong>diff --git a/app/views/repositories/_checkout_instructions.html.erb b/app/views/repositories/_checkout_instructions.html.erbindex 26d4ecd19cd..4854d7dfb8b 100644--- a/app/views/repositories/_checkout_instructions.html.erb+++ b/app/views/repositories/_checkout_instructions.html.erb@@ -37,7 +37,7 @@ See COPYRIGHT and LICENSE files for more details.<p><%= simple_format instructions.instructions %><% if instructions.manages_permissions? %>- <br/>+ <br><span><%= t('repositories.checkout.access_permission') %>:</span><strong><%= t("repositories.checkout.access.#{instructions.permission}") %></strong><% end %>diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erbindex 89a4748bca0..adebc0c80d3 100644--- a/app/views/repositories/_dir_list_content.html.erb+++ b/app/views/repositories/_dir_list_content.html.erb@@ -41,11 +41,11 @@ See COPYRIGHT and LICENSE files for more details.<% @entries.each do |entry| %><% tr_id = Digest::MD5.hexdigest(entry.path)depth = params[:depth].to_i %>- <% ent_path = replace_invalid_utf8(entry.path) %>- <% ent_name = replace_invalid_utf8(entry.name) %>+ <% ent_path = replace_invalid_utf8(entry.path) %>+ <% ent_name = replace_invalid_utf8(entry.name) %><% parent_ref = params[:parent_id] ? "dir_#{h(params[:parent_id])}" : '' %><tr id="dir_<%= tr_id %>" class="<%= parent_ref %> <%= h(entry.kind) %>">- <td class="filename" style="padding-left: <%=18 * depth%>px;">+ <td class="filename" style="padding-left: <%= 18 * depth %>px;"><% if entry.dir? %><%= link_to '#',class: 'icon-context dir-expander',@@ -78,6 +78,6 @@ See COPYRIGHT and LICENSE files for more details.<td class="revision"><%= link_to_revision(changeset, @project) if changeset %></td><td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td><td class="author"><%= changeset.nil? ? h(replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : h(changeset.author) if entry.lastrev %></td>- <td class="comments"><%=h truncate(Changeset.to_utf8(changeset.comments, changeset.repository.repo_log_encoding), length: 50) unless changeset.nil? %></td>+ <td class="comments"><%= h truncate(Changeset.to_utf8(changeset.comments, changeset.repository.repo_log_encoding), length: 50) unless changeset.nil? %></td></tr><% end %>diff --git a/app/views/repositories/_repository_header.html.erb b/app/views/repositories/_repository_header.html.erbindex c4ceadb3497..50089b9bdb2 100644--- a/app/views/repositories/_repository_header.html.erb+++ b/app/views/repositories/_repository_header.html.erb@@ -77,7 +77,6 @@ See COPYRIGHT and LICENSE files for more details.<% end %><% end %>-<% if @instructions %><%= render partial: 'checkout_instructions',locals: { repository: @repository, instructions: @instructions } %>diff --git a/app/views/repositories/_revisions.html.erb b/app/views/repositories/_revisions.html.erbindex ed2ec6c0888..9701a787b73 100644--- a/app/views/repositories/_revisions.html.erb+++ b/app/views/repositories/_revisions.html.erb@@ -139,7 +139,7 @@ See COPYRIGHT and LICENSE files for more details.<%= format_time(changeset.committed_on) %></td><td class="author">- <%=h changeset.author %>+ <%= h changeset.author %></td><td class="comments"><%= format_revision_text(truncate_at_line_break(Changeset.to_utf8(changeset.comments, changeset.repository.repo_log_encoding))) %>diff --git a/app/views/repositories/changes.html.erb b/app/views/repositories/changes.html.erbindex a029c3717cf..a895ebdb0a5 100644--- a/app/views/repositories/changes.html.erb+++ b/app/views/repositories/changes.html.erb@@ -35,7 +35,6 @@ See COPYRIGHT and LICENSE files for more details.locals: { path: @path, revision: @rev }.merge(kind: (@entry ? @entry.kind : nil)) %></div>-<p><%= render partial: 'link_to_functions' %></p><%= render_properties(@properties) %>diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erbindex 9f09f1a8989..460e9ea4922 100644--- a/app/views/repositories/committers.html.erb+++ b/app/views/repositories/committers.html.erb@@ -32,7 +32,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },{ href: project_settings_repository_path, text: t(:label_repository) },- t(:label_user_plural)]) end %>+ t(:label_user_plural)]) end+%><%= simple_format(t(:text_repository_usernames_mapping)) %><% if @committers.empty? %>@@ -72,7 +73,7 @@ See COPYRIGHT and LICENSE files for more details.<% i = 0 -%><% @committers.each do |committer, user_id| -%><tr>- <td><%=h committer %></td>+ <td><%= h committer %></td><td><%= hidden_field_tag "committers[#{i}][]", committer %><%= select_tag "committers[#{i}][]", content_tag('option', "-- #{t(:actionview_instancetag_blank_option)} --", value: '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>@@ -85,7 +86,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div>- <hr class="form--separator" />+ <hr class="form--separator"><p><%= submit_tag t(:button_update), class: 'button -primary' %><%= link_to project_settings_repository_path(@project.id), class: 'button' do %>diff --git a/app/views/repositories/destroy_info.html.erb b/app/views/repositories/destroy_info.html.erbindex d483d99f0a8..48691b69097 100644--- a/app/views/repositories/destroy_info.html.erb+++ b/app/views/repositories/destroy_info.html.erb@@ -33,7 +33,8 @@ See COPYRIGHT and LICENSE files for more details.header.with_breadcrumbs([{ href: project_overview_path(@project.id), text: @project.name },{ href: project_settings_general_path(@project.id), text: I18n.t("label_project_settings") },{ href: project_settings_repository_path, text: t(:label_repository) },- t(:label_repository_remove)]) end %>+ t(:label_repository_remove)]) end+%><% if @repository.managed? %><%= styled_form_tag(project_repository_path(@project), method: :delete, class: 'danger-zone') do %><section class="form--section">@@ -41,9 +42,9 @@ See COPYRIGHT and LICENSE files for more details.<%= t('repositories.destroy.title', repository_type: "<em>#{h(@repository.repository_type)} - #{t(:project_module_repository)}</em>").html_safe %></h3><p>- <%= t('repositories.destroy.subtitle', repository_type: "#{h(@repository.repository_type)} - #{t(:project_module_repository)}", project_name: h(@project.identifier)).html_safe %> <br />+ <%= t('repositories.destroy.subtitle', repository_type: "#{h(@repository.repository_type)} - #{t(:project_module_repository)}", project_name: h(@project.identifier)).html_safe %> <br><%= t('repositories.destroy.confirmation') %>- <br/>+ <br><%= t('repositories.destroy.managed_path_note', path: @repository.root_url) %></p><p class="danger-zone--warning">@@ -54,7 +55,7 @@ See COPYRIGHT and LICENSE files for more details.<%= t('repositories.destroy.repository_verification', identifier: "<em class=\"danger-zone--expected-value\">#{h(@project.identifier)}</em>").html_safe %></p><div class="danger-zone--verification">- <input type="text"></input>+ <input type="text"><input><%= styled_button_tag project_repository_path(@project),method: :delete,title: t(:button_delete),@@ -74,12 +75,12 @@ See COPYRIGHT and LICENSE files for more details.<% else %><div class="op-toast -warning"><div class="op-toast--content">- <p><strong><%= t('repositories.destroy.title_not_managed', repository_type: "<em>#{h(@repository.repository_type)} - #{t(:project_module_repository)}</em>").html_safe %></strong><br /></p>+ <p><strong><%= t('repositories.destroy.title_not_managed', repository_type: "<em>#{h(@repository.repository_type)} - #{t(:project_module_repository)}</em>").html_safe %></strong><br></p><p><%= t('repositories.destroy.subtitle_not_managed',repository_type: "#{h(@repository.repository_type)} - #{t(:project_module_repository)}",project_name: h(@project.identifier),- url: h(@repository.url)).html_safe %> <br />+ url: h(@repository.url)).html_safe %> <br></p><p><span><%= t('repositories.destroy.info_not_managed') %></span>diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erbindex 51b05ffebe5..5f00584b218 100644--- a/app/views/repositories/revision.html.erb+++ b/app/views/repositories/revision.html.erb@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %></li><% end %>-<p><% if @changeset.scmid %>ID: <%= h(@changeset.scmid) %><br />+<p><% if @changeset.scmid %>ID: <%= h(@changeset.scmid) %><br><% end %><span class="author"><%= authoring(@changeset.committed_on, @changeset.author) %></span></p><%= format_revision_text @changeset.comments %>diff --git a/app/views/repositories/revisions.html.erb b/app/views/repositories/revisions.html.erbindex be09bb48437..e3e6dd05ad5 100644--- a/app/views/repositories/revisions.html.erb+++ b/app/views/repositories/revisions.html.erb@@ -37,7 +37,7 @@ See COPYRIGHT and LICENSE files for more details.</li><% end %><% end %>-<%= render partial: 'revisions', locals: {project: @project, path: '', revisions: @changesets, entry: nil }%>+<%= render partial: 'revisions', locals: {project: @project, path: '', revisions: @changesets, entry: nil } %><%= pagination_links_full @changesets %><% content_for :header_tags do %><%= auto_discovery_link_tag(:atom, params.merge({format: 'atom', page: nil, key: User.current.rss_key})) %>diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erbindex 14ffbe676f0..1cb17b8b782 100644--- a/app/views/repositories/show.html.erb+++ b/app/views/repositories/show.html.erb@@ -80,8 +80,7 @@ See COPYRIGHT and LICENSE files for more details.data: {'repository-navigation-target': 'branch',action: 'repository-navigation#applyValue'- }- %>+ } %></li><% end %><% if [email protected]? && @repository.tags.length > 0 %>@@ -96,8 +95,7 @@ See COPYRIGHT and LICENSE files for more details.data: {'repository-navigation-target': 'tag',action: 'repository-navigation#applyValue'- }- %>+ } %></li><% end %><li class="toolbar-item -icon-only">diff --git a/app/views/roles/_form.html.erb b/app/views/roles/_form.html.erbindex eb10c3fd925..ebfa61e1682 100644--- a/app/views/roles/_form.html.erb+++ b/app/views/roles/_form.html.erb@@ -51,24 +51,24 @@ See COPYRIGHT and LICENSE files for more details.<% else %><%= styled_label_tag :unchangeable, "#{t(:label_role_type)} #{t(:label_not_changeable)}" %><div class="form--field-container">- <%= (role.is_a?(GlobalRole) ? t(:label_global_role) : t(:label_member_role))%>+ <%= (role.is_a?(GlobalRole) ? t(:label_global_role) : t(:label_member_role)) %></div><% end %></div><div data-admin--roles-target="memberAttributes"hidden>- <%= render partial: "member_attributes", locals: { f: f, role: role, roles: roles&.select {|r| !r.is_a?(GlobalRole)} }%>+ <%= render partial: "member_attributes", locals: { f: f, role: role, roles: roles&.select {|r| !r.is_a?(GlobalRole)} } %></div><div data-admin--roles-target="globalPermissions"hidden><%= render partial: "permissions",- locals: { permissions: grouped_setable_permissions(GlobalRole.new), role: role, show_global_role: true }%>+ locals: { permissions: grouped_setable_permissions(GlobalRole.new), role: role, show_global_role: true } %></div><div data-admin--roles-target="memberPermissions"hidden><%= render partial: "permissions",- locals: { permissions: grouped_setable_permissions(role), role: role, show_global_role: false }%>+ locals: { permissions: grouped_setable_permissions(role), role: role, show_global_role: false } %></div></div>diff --git a/app/views/roles/_member_form.html.erb b/app/views/roles/_member_form.html.erbindex b6a65a4a729..b56a759e92c 100644--- a/app/views/roles/_member_form.html.erb+++ b/app/views/roles/_member_form.html.erb@@ -56,6 +56,6 @@ See COPYRIGHT and LICENSE files for more details.<% end %></fieldset><% end %>- <br /><%= check_all_links 'permissions' %>+ <br><%= check_all_links 'permissions' %><%= hidden_field_tag 'role[permissions][]', '' %></div>diff --git a/app/views/roles/index.html.erb b/app/views/roles/index.html.erbindex 2348b1f8ce5..fec6290862e 100644--- a/app/views/roles/index.html.erb+++ b/app/views/roles/index.html.erb@@ -75,7 +75,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:label_global)%>+ <%= t(:label_global) %></span></div></div>@@ -84,7 +84,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:button_sort)%>+ <%= t(:button_sort) %></span></div></div>diff --git a/app/views/roles/report.html.erb b/app/views/roles/report.html.erbindex cc6255d538c..8334cc2f4e3 100644--- a/app/views/roles/report.html.erb+++ b/app/views/roles/report.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%=render Primer::OpenProject::PageHeader.new do |header|header.with_title { I18n.t(:label_permissions_report) }@@ -76,7 +75,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:label_permissions)%>+ <%= t(:label_permissions) %></span></div></div>diff --git a/app/views/sharing_mailer/shared_work_package.html.erb b/app/views/sharing_mailer/shared_work_package.html.erbindex 5455613ca7b..aa0f510128e 100644--- a/app/views/sharing_mailer/shared_work_package.html.erb+++ b/app/views/sharing_mailer/shared_work_package.html.erb@@ -54,7 +54,7 @@} %><% if @shared_with_user.invited? %>- <table <%= placeholder_table_styles(width: '100%', style: 'width:100%;') %>>+ <table <%= placeholder_table_styles(width: '100%', style: 'width:100%;') %>><tr><%= placeholder_cell('20px', vertical: false) %></tr>diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erbindex 212917bf8ab..2f71bb64ad1 100644--- a/app/views/types/form/_form_configuration.html.erb+++ b/app/views/types/form/_form_configuration.html.erb@@ -37,8 +37,7 @@ See COPYRIGHT and LICENSE files for more details.<%= angular_component_tag 'opce-no-results',inputs: {title: t('text_form_configuration') + t('text_custom_field_hint_activate_per_project'),- }- %>+ } %><%= angular_component_tag 'opce-enterprise-banner',inputs: {collapsible: true,@@ -46,8 +45,7 @@ See COPYRIGHT and LICENSE files for more details.topMargin: true,textMessage: t('types.edit.more_info_text_html'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:form_configuration][:href],- }- %>+ } %><% end %></div></div>@@ -55,7 +53,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="grid-content -visible-overflow small-12 large-10"><% no_filter_query = ::API::V3::Queries::QueryParamsRepresenter.new(Query.new_default.tap { |q| q.filters = [] }).to_json %>- <%= f.hidden_field :attribute_groups, value: '', class: 'admin-type-form--hidden-field' %>+ <%= f.hidden_field :attribute_groups, value: '', class: 'admin-type-form--hidden-field' %><%= content_tag('opce-admin-type-form-configuration','',data: {diff --git a/app/views/types/form/_projects.html.erb b/app/views/types/form/_projects.html.erbindex 68407540cf1..aa9dc54811b 100644--- a/app/views/types/form/_projects.html.erb+++ b/app/views/types/form/_projects.html.erb@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="grid-content small-12 large-6"><% if @projects.any? %><fieldset class="form--fieldset" id="type_project_ids">- <legend class="form--fieldset-legend" >+ <legend class="form--fieldset-legend"><%= t('types.edit.projects.enabled_projects') %></legend><div class="form--toolbar">diff --git a/app/views/types/index.html.erb b/app/views/types/index.html.erbindex ce69f94a49f..e526f423fe0 100644--- a/app/views/types/index.html.erb+++ b/app/views/types/index.html.erb@@ -109,7 +109,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%=t(:button_sort)%>+ <%= t(:button_sort) %></span></div></div>@@ -163,5 +163,5 @@ See COPYRIGHT and LICENSE files for more details.</div><%= pagination_links_full @types %><% else %>- <%= no_results_box(action_url: new_type_path, display_action: true)%>+ <%= no_results_box(action_url: new_type_path, display_action: true) %><% end %>diff --git a/app/views/user_mailer/attachments_added.html.erb b/app/views/user_mailer/attachments_added.html.erbindex 007fba606ee..e1cdc5c6e55 100644--- a/app/views/user_mailer/attachments_added.html.erb+++ b/app/views/user_mailer/attachments_added.html.erb@@ -28,7 +28,7 @@ See COPYRIGHT and LICENSE files for more details.++#%><p>- <%= link_to @added_to, @added_to_url %><br />+ <%= link_to @added_to, @added_to_url %><br><ul><% @attachments.each do |attachment | %><li><%= attachment.filename %></li>diff --git a/app/views/user_mailer/backup_ready.html.erb b/app/views/user_mailer/backup_ready.html.erbindex 54c3e1347c4..62476bca6af 100644--- a/app/views/user_mailer/backup_ready.html.erb+++ b/app/views/user_mailer/backup_ready.html.erb@@ -28,6 +28,6 @@ See COPYRIGHT and LICENSE files for more details.++#%><p>- <%= t(:mail_body_backup_ready) %><br />+ <%= t(:mail_body_backup_ready) %><br><%= link_to(@download_url, @download_url) %></p>diff --git a/app/views/user_mailer/backup_token_reset.html.erb b/app/views/user_mailer/backup_token_reset.html.erbindex 189d3dc7510..4c01501a3a3 100644--- a/app/views/user_mailer/backup_token_reset.html.erb+++ b/app/views/user_mailer/backup_token_reset.html.erb@@ -30,8 +30,7 @@ See COPYRIGHT and LICENSE files for more details.<p><%= @admin_notification ?t(:mail_body_backup_token_reset_admin_info, user: @user_login) :- t(:mail_body_backup_token_reset_user_info)- %>+ t(:mail_body_backup_token_reset_user_info) %><% if @waiting_period %> <%= t(:mail_body_backup_waiting_period, hours: @waiting_period.in_hours.to_i) %>diff --git a/app/views/user_mailer/incoming_email_error.html.erb b/app/views/user_mailer/incoming_email_error.html.erbindex 0e26a3aa6da..c42c5012f34 100644--- a/app/views/user_mailer/incoming_email_error.html.erb+++ b/app/views/user_mailer/incoming_email_error.html.erb@@ -42,7 +42,7 @@ See COPYRIGHT and LICENSE files for more details.:mail_body_incoming_email_error_in_reply_to,received_at: format_time(@received_at),from_email: @mail_from- )%>:+ ) %>:</p><blockquote>diff --git a/app/views/user_mailer/message_posted.html.erb b/app/views/user_mailer/message_posted.html.erbindex 97ce22612eb..64ba06c1abc 100644--- a/app/views/user_mailer/message_posted.html.erb+++ b/app/views/user_mailer/message_posted.html.erb@@ -32,4 +32,4 @@ See COPYRIGHT and LICENSE files for more details.</h1><em><%= @message.author %></em>-<%= format_text @message.content, object: @message, only_path: false %>+<%= format_text @message.content, object: @message, only_path: false %>diff --git a/app/views/user_mailer/news_added.html.erb b/app/views/user_mailer/news_added.html.erbindex ebf53631df1..4e635624387 100644--- a/app/views/user_mailer/news_added.html.erb+++ b/app/views/user_mailer/news_added.html.erb@@ -30,4 +30,4 @@ See COPYRIGHT and LICENSE files for more details.<h1><%= link_to @news.title, news_url(@news) %></h1><em><%= @news.author.name if @news.author %></em>-<%= format_text @news.description, only_path: false %>+<%= format_text @news.description, only_path: false %>diff --git a/app/views/user_mailer/news_comment_added.html.erb b/app/views/user_mailer/news_comment_added.html.erbindex adfacc35b03..2e0c9b6ef3b 100644--- a/app/views/user_mailer/news_comment_added.html.erb+++ b/app/views/user_mailer/news_comment_added.html.erb@@ -31,4 +31,4 @@ See COPYRIGHT and LICENSE files for more details.<p><%= t(:text_user_wrote, value: @comment.author) %></p>-<%= format_text @comment.text, only_path: false %>+<%= format_text @comment.text, only_path: false %>diff --git a/app/views/user_mailer/password_lost.html.erb b/app/views/user_mailer/password_lost.html.erbindex fbd8ae22681..6a2d1eefd6b 100644--- a/app/views/user_mailer/password_lost.html.erb+++ b/app/views/user_mailer/password_lost.html.erb@@ -26,6 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<p><%= t(:mail_body_lost_password) %><br />+<p><%= t(:mail_body_lost_password) %><br><%= link_to(@reset_password_url, @reset_password_url) %></p><p><%= User.human_attribute_name(:login) %>: <b><%= @token.user.login %></b></p>diff --git a/app/views/user_mailer/test_mail.html.erb b/app/views/user_mailer/test_mail.html.erbindex dc464399c4b..a2dda8596ac 100644--- a/app/views/user_mailer/test_mail.html.erb+++ b/app/views/user_mailer/test_mail.html.erb@@ -26,5 +26,5 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<p>This is a test email sent by OpenProject.<br />+<p>This is a test email sent by OpenProject.<br>OpenProject URL: <%= link_to @welcome_url, @welcome_url %></p>diff --git a/app/views/user_mailer/user_signed_up.html.erb b/app/views/user_mailer/user_signed_up.html.erbindex e38762ed9d2..4e20a5fb049 100644--- a/app/views/user_mailer/user_signed_up.html.erb+++ b/app/views/user_mailer/user_signed_up.html.erb@@ -27,29 +27,28 @@ See COPYRIGHT and LICENSE files for more details.++#%><h2 class="emailTitle"><%= t(:mail_body_register_header_title) %> </h2>-<br />+<br><p><%= t(:mail_body_register_user, name: @user.name) %>- <br />+ <br><%= t(:mail_body_register, app_title: Setting.app_title) %>- <br />+ <br><%= link_to @activation_url, @activation_url %></p>-<br />+<br><p><%= t(:mail_body_register_links_html,webinar_link: link_to('Webinar Link', OpenProject::Static::Links.links[:webinar_videos][:href]),youtube_link: link_to('Youtube Link', OpenProject::Configuration.youtube_channel),get_started_link: link_to('Get Started Videos Link', OpenProject::Static::Links.links[:get_started_videos][:href]),documentation_link: link_to('Documentation Link', OpenProject::Static::Links.links[:openproject_docs][:href])- )- %>+ ) %></p><p>- <br />+ <br><%= t(:mail_body_register_ending) %>- <br />+ <br><%= t(:mail_body_register_closing) %></p>diff --git a/app/views/user_mailer/wiki_page_added.html.erb b/app/views/user_mailer/wiki_page_added.html.erbindex e4fb65bfc17..9d537aaa866 100644--- a/app/views/user_mailer/wiki_page_added.html.erb+++ b/app/views/user_mailer/wiki_page_added.html.erb@@ -28,8 +28,8 @@ See COPYRIGHT and LICENSE files for more details.++#%><p>- <%=raw t(:mail_body_wiki_page_added,+ <%= raw t(:mail_body_wiki_page_added,id: link_to(@wiki_page.title, project_wiki_url(@wiki_page.project, @wiki_page)),- author: @wiki_page.author) %><br />+ author: @wiki_page.author) %><br><em><%= @wiki_page.journals.last.notes %></em></p>diff --git a/app/views/user_mailer/wiki_page_updated.html.erb b/app/views/user_mailer/wiki_page_updated.html.erbindex 5678b6d5c2f..962075d34b5 100644--- a/app/views/user_mailer/wiki_page_updated.html.erb+++ b/app/views/user_mailer/wiki_page_updated.html.erb@@ -28,9 +28,9 @@ See COPYRIGHT and LICENSE files for more details.++#%><p>- <%=raw t(:mail_body_wiki_page_updated,+ <%= raw t(:mail_body_wiki_page_updated,id: link_to(@wiki_page.title, project_wiki_url(@wiki_page.project, @wiki_page)),- author: @wiki_page.journals.last.user) %><br />+ author: @wiki_page.journals.last.user) %><br><em><%= @wiki_page.journals.last.notes %></em></p>diff --git a/app/views/users/_consent.html.erb b/app/views/users/_consent.html.erbindex d7ac96b638b..16445e7b13d 100644--- a/app/views/users/_consent.html.erb+++ b/app/views/users/_consent.html.erb@@ -1,5 +1,5 @@<section class="form--section">- <h3 class="form--section-title"><%=t('consent.title')%></h3>+ <h3 class="form--section-title"><%= t('consent.title') %></h3><% consent_link = admin_settings_users_path(anchor: 'consent_settings') %><%= render ::Components::OnOffStatusComponent.new({diff --git a/app/views/users/_groups.html.erb b/app/views/users/_groups.html.erbindex 672eb540ab6..90a6f1ae1fc 100644--- a/app/views/users/_groups.html.erb+++ b/app/views/users/_groups.html.erb@@ -34,8 +34,7 @@ See COPYRIGHT and LICENSE files for more details.<%= no_results_box action_url: groups_path,display_action: true,custom_title: t('users.groups.no_results_title_text'),- custom_action_text: t(:label_manage_groups)- %>+ custom_action_text: t(:label_manage_groups) %><% else %><p><%= t('users.groups.member_in_these_groups') %></p><% end %>diff --git a/app/views/users/_preferences.html.erb b/app/views/users/_preferences.html.erbindex c670eed8d9d..8f442dffbc2 100644--- a/app/views/users/_preferences.html.erb+++ b/app/views/users/_preferences.html.erb@@ -32,8 +32,7 @@ See COPYRIGHT and LICENSE files for more details.form: pref_fields,include_blank: false,container_class: (defined? input_size) ? "-#{input_size}" : "-wide"- )- %>+ ) %><div class="form--field"><%= pref_fields.select :theme, theme_options_for_select, container_class: '-middle' %><div class="form--field-instructions">diff --git a/app/views/users/change_status_info.html.erb b/app/views/users/change_status_info.html.erbindex 1e43a477cde..62becd08646 100644--- a/app/views/users/change_status_info.html.erb+++ b/app/views/users/change_status_info.html.erb@@ -57,10 +57,11 @@ See COPYRIGHT and LICENSE files for more details.component.with_attribute(key: t(:status_change),value: new_status)- end %>+ end+ %></section>- <hr class="form--separator" />+ <hr class="form--separator"><%= styled_button_tag '', class: '-primary' do %><%= op_icon('button--icon icon-checkmark') %><span class="button--text"><%= new_status %></span>diff --git a/app/views/users/deletion_info.html.erb b/app/views/users/deletion_info.html.erbindex 08b4f6cabcc..805c61d7e8e 100644--- a/app/views/users/deletion_info.html.erb+++ b/app/views/users/deletion_info.html.erb@@ -61,7 +61,7 @@ See COPYRIGHT and LICENSE files for more details.name: "<em class=\"danger-zone--expected-value\">#{h(@user.login)}</em>").html_safe %></p><div class="danger-zone--verification">- <input type="text" name="login_verification"/>+ <input type="text" name="login_verification"><%= styled_button_tag '', class: '-primary', disabled: true doconcat content_tag :i, '', class: 'button--icon icon-delete'concat content_tag :span, t(:button_delete), class: 'button--text'diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erbindex 812da69ed87..c3be219785d 100644--- a/app/views/users/edit.html.erb+++ b/app/views/users/edit.html.erb@@ -27,7 +27,6 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title(t(:label_administration), "#{t(:label_edit)} #{User.model_name.human} #{h(@user.name)}") -%><% tabs = tabs_for_key(:user, user: @user) %>diff --git a/app/views/users/form/_basic_attributes.html.erb b/app/views/users/form/_basic_attributes.html.erbindex 51e9dfe266b..93021f63481 100644--- a/app/views/users/form/_basic_attributes.html.erb+++ b/app/views/users/form/_basic_attributes.html.erb@@ -30,4 +30,4 @@lang_options_for_select,prompt: "--- #{t(:actionview_instancetag_blank_option)} ---",container_class: '-middle' %>-</div>\ No newline at end of file+</div>diff --git a/app/views/users/form/_preferences.html.erb b/app/views/users/form/_preferences.html.erbindex 9d791f5d89c..df5e06ab085 100644--- a/app/views/users/form/_preferences.html.erb+++ b/app/views/users/form/_preferences.html.erb@@ -1,4 +1,4 @@<section class="form--section">- <h3 class="form--section-title"><%=t(:label_preferences)%></h3>+ <h3 class="form--section-title"><%= t(:label_preferences) %></h3><%= render partial: 'users/preferences', locals: {input_size: :middle } %>-</section>\ No newline at end of file+</section>diff --git a/app/views/users/form/authentication/_auth_source.html.erb b/app/views/users/form/authentication/_auth_source.html.erbindex ab990e25599..057038a5229 100644--- a/app/views/users/form/authentication/_auth_source.html.erb+++ b/app/views/users/form/authentication/_auth_source.html.erb@@ -11,8 +11,7 @@},data: {action: 'admin--users#toggleAuthenticationFields'- }- %>+ } %></div><div class="form--field"diff --git a/app/views/users/form/authentication/_form.html.erb b/app/views/users/form/authentication/_form.html.erbindex e941ee47f26..be0edbc6d53 100644--- a/app/views/users/form/authentication/_form.html.erb+++ b/app/views/users/form/authentication/_form.html.erb@@ -1,6 +1,6 @@<section class="form--section"><% if current_user.admin? || can_users_have_auth_source? || @user.uses_external_authentication? %>- <h3 class="form--section-title"><%=t(:label_authentication)%></h3>+ <h3 class="form--section-title"><%= t(:label_authentication) %></h3><% end %><% if @user.uses_external_authentication? %>@@ -12,4 +12,4 @@<%= render partial: 'users/form/authentication/internal', locals: { f: f } %><% end %><% end %>-</section>\ No newline at end of file+</section>diff --git a/app/views/users/form/authentication/_internal.html.erb b/app/views/users/form/authentication/_internal.html.erbindex e65ba9f8cb9..b749d781a29 100644--- a/app/views/users/form/authentication/_internal.html.erb+++ b/app/views/users/form/authentication/_internal.html.erb@@ -9,4 +9,4 @@</div><% else %><%= render partial: 'users/form/authentication/internal_password', locals: { f: f } %>-<% end %>\ No newline at end of file+<% end %>diff --git a/app/views/users/form/authentication/_internal_password.html.erb b/app/views/users/form/authentication/_internal_password.html.erbindex b080f7818b4..96512c6477f 100644--- a/app/views/users/form/authentication/_internal_password.html.erb+++ b/app/views/users/form/authentication/_internal_password.html.erb@@ -16,8 +16,7 @@assign_random_password_enabled,data: {'disable-when-checked-target': 'cause'- }- %>+ } %></div></div>diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erbindex 3fd26b66db3..a7ac271f863 100644--- a/app/views/users/new.html.erb+++ b/app/views/users/new.html.erb@@ -29,7 +29,6 @@ See COPYRIGHT and LICENSE files for more details.<% html_title t(:label_administration), t("label_user_new") %>-<%=render(Primer::OpenProject::PageHeader.new) do |header|header.with_title { t(:label_user_new) }diff --git a/app/views/versions/_form.html.erb b/app/views/versions/_form.html.erbindex 792fef6f3cd..5bb22c9d89a 100644--- a/app/views/versions/_form.html.erb+++ b/app/views/versions/_form.html.erb@@ -41,7 +41,7 @@ See COPYRIGHT and LICENSE files for more details.</div><div class="form--field">- <%= f.text_field :description, container_class: '-wide'%>+ <%= f.text_field :description, container_class: '-wide' %></div><div class="form--field">diff --git a/app/views/versions/_overview.html.erb b/app/views/versions/_overview.html.erbindex da652867491..3f414dc21ff 100644--- a/app/views/versions/_overview.html.erb+++ b/app/views/versions/_overview.html.erb@@ -45,9 +45,9 @@ See COPYRIGHT and LICENSE files for more details.<ul><% version.custom_values.each do |custom_value| %><% if custom_value.value.present? && custom_value.custom_field.field_format == 'text' %>- <li><%=h custom_value.custom_field.name %>:<div class="op-uc-container"><%=h show_value(custom_value) %></div></li>+ <li><%= h custom_value.custom_field.name %>:<div class="op-uc-container"><%= h show_value(custom_value) %></div></li><% elsif custom_value.value.present? %>- <li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li>+ <li><%= h custom_value.custom_field.name %>: <%= h show_value(custom_value) %></li><% end %><% end %></ul>diff --git a/app/views/versions/_roadmap_version_links.html.erb b/app/views/versions/_roadmap_version_links.html.erbindex 68c3b6814c4..1cb9b19c901 100644--- a/app/views/versions/_roadmap_version_links.html.erb+++ b/app/views/versions/_roadmap_version_links.html.erb@@ -4,5 +4,5 @@<%= link_to format_version_name(version),project_roadmap_path({ anchor: link_to_version_id(version) }.merge(params.permit(:completed,:with_subprojects,- type_ids: []).to_h)) %><br />+ type_ids: []).to_h)) %><br><% end %>diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erbindex 64c413f3777..b677f410393 100644--- a/app/views/versions/index.html.erb+++ b/app/views/versions/index.html.erb@@ -60,7 +60,7 @@ end %><% if (issues = @wps_by_version[version]) && issues.size > 0 %><form><fieldset class="form--fieldset -collapsible">- <legend class="form--fieldset-legend" ><%= t(:label_related_work_packages) %></legend>+ <legend class="form--fieldset-legend"><%= t(:label_related_work_packages) %></legend><div><ul><%- issues.each do |issue| -%>diff --git a/app/views/versions/new.html.erb b/app/views/versions/new.html.erbindex 5c881f226ac..78b6000802d 100644--- a/app/views/versions/new.html.erb+++ b/app/views/versions/new.html.erb@@ -36,7 +36,8 @@ See COPYRIGHT and LICENSE files for more details.{ href: project_settings_versions_path(@project.id), text: I18n.t("label_version_plural") },t(:label_version_new)])- end %>+ end+%><%= labelled_tabular_form_for [@project, @version] do |f| %>diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erbindex 91278a36d54..c98d97ef3b2 100644--- a/app/views/versions/show.html.erb+++ b/app/views/versions/show.html.erb@@ -78,7 +78,8 @@ See COPYRIGHT and LICENSE files for more details.endendcall_hook(:view_versions_show_contextual, { version: @version, project: @project })- end %>+ end+%><div class="widget-boxes -grid"><div class="widget-box -thin">diff --git a/app/views/warning_bar/_host_and_protocol_mismatch.html.erb b/app/views/warning_bar/_host_and_protocol_mismatch.html.erbindex 541db1400d2..c67f79d046c 100644--- a/app/views/warning_bar/_host_and_protocol_mismatch.html.erb+++ b/app/views/warning_bar/_host_and_protocol_mismatch.html.erb@@ -4,25 +4,23 @@<% if setting_protocol_mismatched? %><p><strong><%= t 'warning_bar.https_mismatch.title' %></strong>- <br/>+ <br><%= t 'warning_bar.https_mismatch.text_html',set_protocol: Setting.protocol,actual_protocol: request.ssl? ? 'https' : 'http',setting_value: request.ssl? ? 'OPENPROJECT_HTTPS=true' : 'OPENPROJECT_HTTPS=false',- more_info_path: installation_guide_link- %>+ more_info_path: installation_guide_link %></p><% end %><% if setting_hostname_mismatched? %><p><strong><%= t 'warning_bar.hostname_mismatch.title' %></strong>- <br/>+ <br><%= t 'warning_bar.hostname_mismatch.text_html',set_hostname: Setting.host_name,actual_hostname: request.host,- setting_path: admin_settings_general_path- %>+ setting_path: admin_settings_general_path %></p><% end %>diff --git a/app/views/warning_bar/_pending_migrations.html.erb b/app/views/warning_bar/_pending_migrations.html.erbindex bb6815b586e..481d382cad9 100644--- a/app/views/warning_bar/_pending_migrations.html.erb+++ b/app/views/warning_bar/_pending_migrations.html.erb@@ -2,7 +2,7 @@<span class="icon3 icon-warning"></span><p><strong><%= t(:error_migrations_are_pending) %></strong>- <br/>+ <br><%= t(:error_migrations_visit_upgrade_guides) %>:<%= static_link_to :upgrade_guides %></p>diff --git a/app/views/warning_bar/_warning_bar.html.erb b/app/views/warning_bar/_warning_bar.html.erbindex 952abc2fc83..ed54fce7fa4 100644--- a/app/views/warning_bar/_warning_bar.html.erb+++ b/app/views/warning_bar/_warning_bar.html.erb@@ -5,4 +5,4 @@<%= render partial: 'warning_bar/unsupported_browser' if unsupported_browser? %><%= render partial: 'warning_bar/missing_wp_edit_role_workflows' if render_workflow_missing_warning? %></div>-<% end %>+<% end %>diff --git a/app/views/wiki/annotate.html.erb b/app/views/wiki/annotate.html.erbindex 8b637bbf36f..bd30ef36f6f 100644--- a/app/views/wiki/annotate.html.erb+++ b/app/views/wiki/annotate.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% html_title t(:project_module_wiki), t(:label_history), t(:text_comment_wiki_page, page: @page.title) %>+<% html_title t(:project_module_wiki), t(:label_history), t(:text_comment_wiki_page, page: @page.title) %><% breadcrumb_paths(*(@page.ancestors.reverse.collect { |parent| link_to h(parent.breadcrumb_title), {id: parent, project_id: parent.project}} + [h(@page.breadcrumb_title)] )) %><%= toolbar title: h(@page.title) do %>@@ -59,7 +59,7 @@ See COPYRIGHT and LICENSE files for more details.<td class="revision"><%= link_to line[0], controller: '/wiki', action: 'show', project_id: @project, id: @page, version: line[0] %></td><td class="author"><%= h(line[1]) %></td><td class="line-code">- <pre><%=h line[2] %></pre>+ <pre><%= h line[2] %></pre></td></tr><% line_num += 1 %>diff --git a/app/views/wiki/edit.html.erb b/app/views/wiki/edit.html.erbindex baf641281fc..5123e942bd3 100644--- a/app/views/wiki/edit.html.erb+++ b/app/views/wiki/edit.html.erb@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.html: {method: :put, multipart: true, id: 'wiki_form'} do |f| %><%= f.hidden_field :lock_version %>- <%= render partial: 'wiki/page_form', locals: {f: f} %>+ <%= render partial: 'wiki/page_form', locals: {f: f} %><% end %>@@ -42,4 +42,3 @@ See COPYRIGHT and LICENSE files for more details.<% content_for :header_tags do %><%= robot_exclusion_tag %><% end %>-diff --git a/app/views/wiki/export_multiple.html.erb b/app/views/wiki/export_multiple.html.erbindex f7f3daa7f2f..4e240f477ca 100644--- a/app/views/wiki/export_multiple.html.erb+++ b/app/views/wiki/export_multiple.html.erb@@ -29,8 +29,8 @@ See COPYRIGHT and LICENSE files for more details.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>- <title><%=h @wiki.project.name %></title>- <meta http-equiv="content-type" content="text/html; charset=utf-8" />+ <title><%= h @wiki.project.name %></title>+ <meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { font:80% Verdana,Tahoma,Arial,sans-serif; }h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }@@ -51,7 +51,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %></ul><% @pages.each do |page| %>- <hr />+ <hr><a name="<%= h(page.to_param) %>" /><%= format_text page ,:text, wiki_links: :anchor %><% end %>diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erbindex 41994db6b0c..e8348aed80b 100644--- a/app/views/wiki/history.html.erb+++ b/app/views/wiki/history.html.erb@@ -120,8 +120,8 @@ See COPYRIGHT and LICENSE files for more details.<tr class="wiki-page-version"><td class="id"><%= link_to h(ver.version), action: 'show', id: @page, project_id: @page.project, version: ver.version %></td><td class="checkbox">- <% if show_diff && (line_num < @versions.size) %>- <label for="<%="cb-#{line_num}"%>" class="hidden-for-sighted"><%= t(:description_compare_from) + ' ' + t(:label_version) + " " + h(ver.version.to_s) %></label>+ <% if show_diff && (line_num < @versions.size) %>+ <label for="<%= "cb-#{line_num}" %>" class="hidden-for-sighted"><%= t(:description_compare_from) + ' ' + t(:label_version) + " " + h(ver.version.to_s) %></label><%= radio_button_tag('version_from',ver.version,(line_num==1),@@ -135,7 +135,7 @@ See COPYRIGHT and LICENSE files for more details.</td><td class="checkbox"><% if show_diff && (line_num > 1) %>- <label for="<%="cbto-#{line_num}"%>" class="hidden-for-sighted"><%= t(:description_compare_to) + ' ' + t(:label_version) + " " + h(ver.version.to_s) %></label>+ <label for="<%= "cbto-#{line_num}" %>" class="hidden-for-sighted"><%= t(:description_compare_to) + ' ' + t(:label_version) + " " + h(ver.version.to_s) %></label><%= radio_button_tag('version_to',ver.version,(line_num==2),@@ -148,7 +148,7 @@ See COPYRIGHT and LICENSE files for more details.</td><td class="updated_at"><%= format_time(ver.created_at) %></td><td class="author"><%= link_to_user ver.user %></td>- <td class="comments"><%=h ver.notes %></td>+ <td class="comments"><%= h ver.notes %></td><td class="buttons"><%= link_to t(:button_annotate), action: 'annotate', id: @page, version: ver.version %></td></tr><% line_num += 1 %>diff --git a/app/views/wiki/new.html.erb b/app/views/wiki/new.html.erbindex c78ce5d8430..2e34f86b2bb 100644--- a/app/views/wiki/new.html.erb+++ b/app/views/wiki/new.html.erb@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.url: create_project_wiki_index_path(project_id: @project),html: { method: :post, multipart: true, id: 'wiki_form' } do |f| %>- <%= render partial: 'page_form', locals: {f: f} %>+ <%= render partial: 'page_form', locals: {f: f} %><% end %>diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erbindex 9db2a1af7b7..8c35cad23fa 100644--- a/app/views/wiki/show.html.erb+++ b/app/views/wiki/show.html.erb@@ -36,7 +36,7 @@ See COPYRIGHT and LICENSE files for more details.<%# Set meta tags %><% title "#{t(:project_module_wiki)} | #{title}" %>-<% @formatted_text = format_text @page, :text, attachments: @page.attachments %>+<% @formatted_text = format_text @page, :text, attachments: @page.attachments %><% description strip_tags(@formatted_text) %><%= toolbar title: title, html: {class: '-with-dropdown'} do %>@@ -103,8 +103,7 @@ See COPYRIGHT and LICENSE files for more details.data: {controller: 'print',action: 'print#triggerPrint'- }- %>+ } %></li><% if User.current.allowed_in_project?(:export_wiki_pages, @project) %><section data-augmented-model-wrapper@@ -126,7 +125,7 @@ See COPYRIGHT and LICENSE files for more details.<% breadcrumb_paths(*(@page.ancestors.reverse.collect { |parent| link_to h(parent.breadcrumb_title), {id: parent, project_id: parent.project}} + [h(@page.breadcrumb_title)])) %><% if params[:version] %>- <hr />+ <hr><div class="wiki-version--details"><div><%= link_to(t(:label_previous), { action: 'show', id: @page, project_id: @page.project, version: (@page.version - 1) }, class: 'button navigate-left') if @page.version > 1 %>@@ -134,7 +133,7 @@ See COPYRIGHT and LICENSE files for more details.<span><em><%= @page.author ? link_to_user(@page.author) : t(:label_user_anonymous) %></em> — <%= format_time(@page.updated_at) %></span><%= link_to(t(:label_next), { action: 'show', id: @page, project_id: @page.project, version: (@page.version + 1) }, class: 'button navigate-right') unless @page.current_version? %></div>- <hr />+ <hr></div><% end %>diff --git a/app/views/wiki_menu_items/edit.html.erb b/app/views/wiki_menu_items/edit.html.erbindex 76bac72ebf2..4e5af90e077 100644--- a/app/views/wiki_menu_items/edit.html.erb+++ b/app/views/wiki_menu_items/edit.html.erb@@ -43,7 +43,7 @@ See COPYRIGHT and LICENSE files for more details.<br><div style="clear: both;"></div><fieldset class="form--fieldset" id="wiki_menu_item_setting">- <legend class="form--fieldset-legend"><%=t(:menu_item_setting)%></legend>+ <legend class="form--fieldset-legend"><%= t(:menu_item_setting) %></legend><p><%= form.radio_button 'setting', :no_item %><%= form.label 'setting_no_item', t(:label_wiki_dont_show_menu_item) %>@@ -64,6 +64,6 @@ See COPYRIGHT and LICENSE files for more details.class: '-primary -with-icon icon-checkmark' %><%= link_to t(:button_cancel),{controller: '/wiki', action: 'show', project_id: @project, id: @page_title},- class: 'button -with-icon icon-cancel'%>+ class: 'button -with-icon icon-cancel' %></p><% end %>diff --git a/app/views/work_package_mailer/_work_package_details.html.erb b/app/views/work_package_mailer/_work_package_details.html.erbindex a5f7cb01752..a6878f9c205 100644--- a/app/views/work_package_mailer/_work_package_details.html.erb+++ b/app/views/work_package_mailer/_work_package_details.html.erb@@ -30,17 +30,17 @@ See COPYRIGHT and LICENSE files for more details.<h1><%= link_to work_package.to_s, work_package_url(work_package) %></h1><ul>- <li><%= WorkPackage.human_attribute_name(:author) %>: <%= work_package.author %></li>- <li><%= WorkPackage.human_attribute_name(:status) %>: <%= work_package.status %></li>- <li><%= WorkPackage.human_attribute_name(:priority) %>: <%= work_package.priority %></li>- <li><%= WorkPackage.human_attribute_name(:assigned_to) %>: <%= work_package.assigned_to %></li>- <li><%= WorkPackage.human_attribute_name(:responsible) %>: <%= work_package.responsible %></li>- <li><%= WorkPackage.human_attribute_name(:category) %>: <%= work_package.category %></li>+ <li><%= WorkPackage.human_attribute_name(:author) %>: <%= work_package.author %></li>+ <li><%= WorkPackage.human_attribute_name(:status) %>: <%= work_package.status %></li>+ <li><%= WorkPackage.human_attribute_name(:priority) %>: <%= work_package.priority %></li>+ <li><%= WorkPackage.human_attribute_name(:assigned_to) %>: <%= work_package.assigned_to %></li>+ <li><%= WorkPackage.human_attribute_name(:responsible) %>: <%= work_package.responsible %></li>+ <li><%= WorkPackage.human_attribute_name(:category) %>: <%= work_package.category %></li><li><%= WorkPackage.human_attribute_name(:version) %>: <%= work_package.version %></li>- <li><%= WorkPackage.human_attribute_name(:start_date) %>: <%= work_package.start_date %></li>- <li><%= WorkPackage.human_attribute_name(:due_date) %>: <%= work_package.due_date %></li>- <li><%= WorkPackage.human_attribute_name(:estimated_hours)%>: <%= work_package.estimated_hours %></li>- <li><%= WorkPackage.human_attribute_name(:done_ratio) %>: <%= work_package.done_ratio %></li>+ <li><%= WorkPackage.human_attribute_name(:start_date) %>: <%= work_package.start_date %></li>+ <li><%= WorkPackage.human_attribute_name(:due_date) %>: <%= work_package.due_date %></li>+ <li><%= WorkPackage.human_attribute_name(:estimated_hours) %>: <%= work_package.estimated_hours %></li>+ <li><%= WorkPackage.human_attribute_name(:done_ratio) %>: <%= work_package.done_ratio %></li><% work_package.custom_field_values.each do |value| %><li><%= value.custom_field.name %>: <%= show_value(value) %></li>diff --git a/app/views/work_package_mailer/watcher_changed.html.erb b/app/views/work_package_mailer/watcher_changed.html.erbindex c85f7549be0..43c0d41ca0a 100644--- a/app/views/work_package_mailer/watcher_changed.html.erb+++ b/app/views/work_package_mailer/watcher_changed.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%><%= t("text_work_package_watcher_#{@action}", id: "##{@work_package.id}", watcher_changer: @watcher_changer) %>-<hr />+<hr><%= render partial: 'work_package_details', locals: { work_package: @work_package } %><p><%= format_text(t(:text_latest_note, note: last_work_package_note(@work_package)),diff --git a/app/views/work_packages/bulk/destroy.html.erb b/app/views/work_packages/bulk/destroy.html.erbindex ac5027979ca..19f4e78c036 100644--- a/app/views/work_packages/bulk/destroy.html.erb+++ b/app/views/work_packages/bulk/destroy.html.erb@@ -53,7 +53,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div><div class="form--field -trailing-label">- <%=styled_label_tag 'to_do_action_nullify', t(:text_assign_to_project) %>+ <%= styled_label_tag 'to_do_action_nullify', t(:text_assign_to_project) %><div class="form--field-container"><%= styled_radio_button_tag 'to_do[action]' , 'nullify' %></div>@@ -87,7 +87,7 @@ See COPYRIGHT and LICENSE files for more details.<%= link_to_function t(:button_cancel),"history.back()",title: t(:button_cancel),- class: 'button -with-icon icon-cancel'%>+ class: 'button -with-icon icon-cancel' %></section><% end %>diff --git a/app/views/work_packages/bulk/edit.html.erb b/app/views/work_packages/bulk/edit.html.erbindex cfb90829141..938aeb5f151 100644--- a/app/views/work_packages/bulk/edit.html.erb+++ b/app/views/work_packages/bulk/edit.html.erb@@ -117,8 +117,7 @@ See COPYRIGHT and LICENSE files for more details.<%= styled_select_tag('work_package[budget_id]',content_tag('option', t(:label_no_change_option), :value => '') +content_tag('option', t(:label_none), :value => 'none') +- options_from_collection_for_select(@project.budgets.order(Arel.sql('subject ASC')), :id, :subject))- %>+ options_from_collection_for_select(@project.budgets.order(Arel.sql('subject ASC')), :id, :subject)) %></div></div><% end %>@@ -155,8 +154,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {id: "work_package_start_date",name: "work_package[start_date]"- }- %>+ } %></div></div><div class="form--field">@@ -166,8 +164,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {id: "work_package_due_date",name: "work_package[due_date]"- }- %>+ } %></div></div></div>diff --git a/app/views/work_packages/moves/new.html.erb b/app/views/work_packages/moves/new.html.erbindex 921b0724c6b..5467c431692 100644--- a/app/views/work_packages/moves/new.html.erb+++ b/app/views/work_packages/moves/new.html.erb@@ -75,8 +75,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'remote-field--input',data: {'test-selector': 'new_project_id'- }- %>+ } %></div></div><div class="form--field">@@ -160,8 +159,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {id: "start_date",name: "start_date"- }- %>+ } %></div></div><div class="form--field">@@ -171,8 +169,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {id: "due_date",name: "due_date"- }- %>+ } %></div></div><% if @target_type %>diff --git a/app/views/work_packages/reports/report_details.html.erb b/app/views/work_packages/reports/report_details.html.erbindex 787ccdd493a..7eaa17354ba 100644--- a/app/views/work_packages/reports/report_details.html.erb+++ b/app/views/work_packages/reports/report_details.html.erb@@ -37,7 +37,7 @@ See COPYRIGHT and LICENSE files for more details.data: @data,field_name: @field,report: @report } %>- <br />+ <br></div><%= link_to t(:button_back), report_project_work_packages_path(@project), class:'button' %>diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erbindex 5b83ec37930..b20e64965d9 100644--- a/app/views/workflows/_form.html.erb+++ b/app/views/workflows/_form.html.erb@@ -32,11 +32,11 @@ See COPYRIGHT and LICENSE files for more details.<thead><tr><th></th>- <th colspan="<%= @statuses.length%>">+ <th colspan="<%= @statuses.length %>"><div class="generic-table--sort-header-outer -no-border"><div class="generic-table--sort-header workflow-table--header"><span>- <%=t(:label_new_statuses_allowed)%>+ <%= t(:label_new_statuses_allowed) %></span><span class="workflow-table--check-all">(<%= check_all_links 'workflow_form_' + name %>)@@ -54,7 +54,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'no-decoration-on-hover',title: "#{t(:label_check_uncheck_all_in_column)}",alt: "#{t(:label_check_uncheck_all_in_column)}") %>- <%=h new_status.name %>+ <%= h new_status.name %></th><% end %></tr>@@ -68,7 +68,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'no-decoration-on-hover',title: "#{t(:label_check_uncheck_all_in_row)}",alt: "#{t(:label_check_uncheck_all_in_row)}") %>- <%=h old_status.name %>+ <%= h old_status.name %></td><% for new_status in @statuses -%><td>@@ -81,7 +81,7 @@ See COPYRIGHT and LICENSE files for more details.<tr class="-no-highlighting"><td colspan="<%= @statuses.length + 2 %>"><span class="workflow-table--turned-header">- <%=t(:label_current_status)%>+ <%= t(:label_current_status) %></span></td></tr>diff --git a/app/views/workflows/copy.html.erb b/app/views/workflows/copy.html.erbindex 9e9a322480f..13efa41f429 100644--- a/app/views/workflows/copy.html.erb+++ b/app/views/workflows/copy.html.erb@@ -51,7 +51,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div></div>- <br/>+ <br><div class="form--field -required"><label class="form--label" for="target_type_ids"><%= t(:label_copy_target) %></label><div class="form--field-container">diff --git a/app/views/workflows/edit.html.erb b/app/views/workflows/edit.html.erbindex 2e6666ab8e5..9c61e44e543 100644--- a/app/views/workflows/edit.html.erb+++ b/app/views/workflows/edit.html.erb@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.<%= styled_form_tag({}, method: 'get') do %><fieldset class="simple-filters--container">- <legend><%=t(:text_workflow_edit)%></legend>+ <legend><%= t(:text_workflow_edit) %></legend><ul class="simple-filters--filters"><li class="simple-filters--filter"><%= styled_label_tag :role_id, Role.model_name.human, class: 'simple-filters--filter-name' %>diff --git a/lib/primer/open_project/forms/date_picker.html.erb b/lib/primer/open_project/forms/date_picker.html.erbindex 7b55923f0a4..6cb26fddf5c 100644--- a/lib/primer/open_project/forms/date_picker.html.erb+++ b/lib/primer/open_project/forms/date_picker.html.erb@@ -46,8 +46,7 @@ See COPYRIGHT and LICENSE files for more details.value: @datepicker_options.fetch(:value) { @input.input_arguments[:value] || builder.object&.send(@input.name) },inputClassNames: @datepicker_options.fetch(:class) { @input.input_arguments[:class] },dataAction: @datepicker_options.fetch(:data, {}).fetch(:action, nil)- )- %>+ ) %><% end %><% end %><% end %>diff --git a/lib/primer/open_project/forms/rich_text_area.html.erb b/lib/primer/open_project/forms/rich_text_area.html.erbindex fc34cef585c..ea3cfe8f87f 100644--- a/lib/primer/open_project/forms/rich_text_area.html.erb+++ b/lib/primer/open_project/forms/rich_text_area.html.erb@@ -10,6 +10,5 @@turboMode: true}),- class: @input.classes- %>+ class: @input.classes %><% end %>diff --git a/lib/primer/open_project/forms/storage_manual_project_folder_selection.html.erb b/lib/primer/open_project/forms/storage_manual_project_folder_selection.html.erbindex d4334c10240..066eaa1d622 100644--- a/lib/primer/open_project/forms/storage_manual_project_folder_selection.html.erb+++ b/lib/primer/open_project/forms/storage_manual_project_folder_selection.html.erb@@ -24,8 +24,7 @@<% else %><%= angular_component_tag 'opce-storage-login-button',data: @storage_login_button_options.delete(:data) { {} },- inputs: @storage_login_button_options.delete(:inputs) { {} }- %>+ inputs: @storage_login_button_options.delete(:inputs) { {} } %><% end %><% end %><% end %>diff --git a/lookbook/previews/op_primer/form_preview/default.html.erb b/lookbook/previews/op_primer/form_preview/default.html.erbindex 872b31bee8d..629353265d7 100644--- a/lookbook/previews/op_primer/form_preview/default.html.erb+++ b/lookbook/previews/op_primer/form_preview/default.html.erb@@ -31,5 +31,3 @@%><%= render(form_preview.new(f)) %><% end %>--diff --git a/lookbook/previews/op_turbo/frame_component_preview/default.html.erb b/lookbook/previews/op_turbo/frame_component_preview/default.html.erbindex 36894e579fd..3500f28f127 100644--- a/lookbook/previews/op_turbo/frame_component_preview/default.html.erb+++ b/lookbook/previews/op_turbo/frame_component_preview/default.html.erb@@ -1,8 +1,8 @@<p>- <strong>Default</strong><br/>+ <strong>Default</strong><br><%= render(OpTurbo::FrameComponent.new(model)) %></p><p>- <strong>Context</strong><br/>+ <strong>Context</strong><br><%= render(OpTurbo::FrameComponent.new(model, context: context)) %></p>diff --git a/lookbook/previews/op_turbo/stream_component_preview/default.html.erb b/lookbook/previews/op_turbo/stream_component_preview/default.html.erbindex ae50d59624e..36728d5d04b 100644--- a/lookbook/previews/op_turbo/stream_component_preview/default.html.erb+++ b/lookbook/previews/op_turbo/stream_component_preview/default.html.erb@@ -1,4 +1,4 @@<p>- <strong>Default</strong><br/>+ <strong>Default</strong><br><%= render(OpTurbo::StreamComponent.new(template:, action:, target:)) %></p>diff --git a/lookbook/previews/open_project/common/autocomplete_preview/color.html.erb b/lookbook/previews/open_project/common/autocomplete_preview/color.html.erbindex b093e09b04e..c182893daf9 100644--- a/lookbook/previews/open_project/common/autocomplete_preview/color.html.erb+++ b/lookbook/previews/open_project/common/autocomplete_preview/color.html.erb@@ -17,11 +17,9 @@model = Status.new%>-<%= primer_form_with(model:,url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/autocomplete_preview/decorated.html.erb b/lookbook/previews/open_project/common/autocomplete_preview/decorated.html.erbindex 87ee42f718e..35e9b033ba4 100644--- a/lookbook/previews/open_project/common/autocomplete_preview/decorated.html.erb+++ b/lookbook/previews/open_project/common/autocomplete_preview/decorated.html.erb@@ -31,10 +31,8 @@end%>-<%= primer_form_with(url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/autocomplete_preview/project.html.erb b/lookbook/previews/open_project/common/autocomplete_preview/project.html.erbindex b597688638a..9f30b08739e 100644--- a/lookbook/previews/open_project/common/autocomplete_preview/project.html.erb+++ b/lookbook/previews/open_project/common/autocomplete_preview/project.html.erb@@ -18,11 +18,9 @@model = Project.new%>-<%= primer_form_with(model:,url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/autocomplete_preview/project_with_search_icon.html.erb b/lookbook/previews/open_project/common/autocomplete_preview/project_with_search_icon.html.erbindex 8836519d7f4..98fdec76242 100644--- a/lookbook/previews/open_project/common/autocomplete_preview/project_with_search_icon.html.erb+++ b/lookbook/previews/open_project/common/autocomplete_preview/project_with_search_icon.html.erb@@ -24,5 +24,4 @@url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/autocomplete_preview/work_package.html.erb b/lookbook/previews/open_project/common/autocomplete_preview/work_package.html.erbindex 2408d9b885c..93e49f9cdd9 100644--- a/lookbook/previews/open_project/common/autocomplete_preview/work_package.html.erb+++ b/lookbook/previews/open_project/common/autocomplete_preview/work_package.html.erb@@ -19,11 +19,9 @@model = WorkPackage.new%>-<%= primer_form_with(model:,url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/dialog_preview/form.html.erb b/lookbook/previews/open_project/common/dialog_preview/form.html.erbindex 06c347db1b3..3245dd306a9 100644--- a/lookbook/previews/open_project/common/dialog_preview/form.html.erb+++ b/lookbook/previews/open_project/common/dialog_preview/form.html.erb@@ -36,7 +36,6 @@end%>-<%= render(Primer::Alpha::Dialog.new(title: dialog_title,size: :large,id: dialog_id)) do |d| %>diff --git a/lookbook/previews/open_project/common/rich_text_preview/default.html.erb b/lookbook/previews/open_project/common/rich_text_preview/default.html.erbindex 0f497d257d8..fee08aecc9a 100644--- a/lookbook/previews/open_project/common/rich_text_preview/default.html.erb+++ b/lookbook/previews/open_project/common/rich_text_preview/default.html.erb@@ -14,11 +14,9 @@model = WorkPackage.new%>-<%= primer_form_with(model:,url: '/abc',id: 'asdf') do |f|render(the_form.new(f))-end-%>+end %>diff --git a/lookbook/previews/open_project/common/submenu_preview/default.html.erb b/lookbook/previews/open_project/common/submenu_preview/default.html.erbindex b03ffaf1ae0..55bf76ce449 100644--- a/lookbook/previews/open_project/common/submenu_preview/default.html.erb+++ b/lookbook/previews/open_project/common/submenu_preview/default.html.erb@@ -29,6 +29,5 @@<!-- Please note, that due to that not all styles are correctly applied in the lookbook --><%= render OpenProject::Common::SubmenuComponent.new(sidebar_menu_items: sidebar_menu_items- )- %>+ ) %></div>diff --git a/lookbook/previews/open_project/common/submenu_preview/playground.html.erb b/lookbook/previews/open_project/common/submenu_preview/playground.html.erbindex 6b796dc1362..0a70267bed6 100644--- a/lookbook/previews/open_project/common/submenu_preview/playground.html.erb+++ b/lookbook/previews/open_project/common/submenu_preview/playground.html.erb@@ -17,6 +17,5 @@sidebar_menu_items: sidebar_menu_items,searchable: searchable,create_btn_options: create_btn_options- )- %>+ ) %></div>diff --git a/lookbook/previews/open_project/deprecated/advanced_filters_preview/default.html.erb b/lookbook/previews/open_project/deprecated/advanced_filters_preview/default.html.erbindex 081891fa21e..6aff49dc770 100644--- a/lookbook/previews/open_project/deprecated/advanced_filters_preview/default.html.erb+++ b/lookbook/previews/open_project/deprecated/advanced_filters_preview/default.html.erb@@ -44,7 +44,7 @@<li class="advanced-filters--filter"><label for="operators-assigned_to_id" class="advanced-filters--filter-name">Assignee</label><div class="advanced-filters--filter-operator">- <select class="advanced-filters--select" style="vertical-align: top;" >+ <select class="advanced-filters--select" style="vertical-align: top;"><option value="=" label="is" selected="selected">is</option><option value="!" label="is not"> is not</option><option value="!*" label="none">none</option>@@ -145,7 +145,7 @@</div><div class="advanced-filters--filter-value"><div id="div-values-start_date">- <span class="inline-label" ><input class="advanced-filters--text-field" id="values-start_date" size="3" type="text" required> <label for="values_" class="form-label -transparent">days</label></span>+ <span class="inline-label"><input class="advanced-filters--text-field" id="values-start_date" size="3" type="text" required> <label for="values_" class="form-label -transparent">days</label></span></div></div><div class="advanced-filters--remove-filter">@@ -256,7 +256,7 @@<li id="filter_done_ratio" class="advanced-filters--filter ng-hide"><label for="operators-done_ratio" class="advanced-filters--filter-name">Progress (%)</label><div class="advanced-filters--filter-operator">- <select class="advanced-filters--select " id="operators-done_ratio" style="vertical-align: top;" >+ <select class="advanced-filters--select " id="operators-done_ratio" style="vertical-align: top;"><option value="=" label="is" selected="selected">is</option><option value=">=" label=">=">>=</option><option value="<=" label="<="><=</option>diff --git a/lookbook/previews/open_project/deprecated/buttons_preview/active.html.erb b/lookbook/previews/open_project/deprecated/buttons_preview/active.html.erbindex f2700bc51ef..a155127cdfd 100644--- a/lookbook/previews/open_project/deprecated/buttons_preview/active.html.erb+++ b/lookbook/previews/open_project/deprecated/buttons_preview/active.html.erb@@ -9,5 +9,5 @@<a href="#" class="button -active -with-icon icon-upload">Connect</a><a href="#" class="button -active">Click to connect</a>-<input type="submit" class="button -active" value="Submit to connect"/>-<input type="submit" class="button -active" value="Do not connect" disabled />+<input type="submit" class="button -active" value="Submit to connect">+<input type="submit" class="button -active" value="Do not connect" disabled>diff --git a/lookbook/previews/open_project/deprecated/buttons_preview/alternative_highlight.html.erb b/lookbook/previews/open_project/deprecated/buttons_preview/alternative_highlight.html.erbindex 0b4fa1f6504..f9f0994d498 100644--- a/lookbook/previews/open_project/deprecated/buttons_preview/alternative_highlight.html.erb+++ b/lookbook/previews/open_project/deprecated/buttons_preview/alternative_highlight.html.erb@@ -9,5 +9,5 @@<a href="#" class="button -primary -with-icon icon-add">Create</a><a href="#" class="button -primary">Click to create</a>-<input type="submit" class="button -primary" value="Submit to create"/>-<input type="submit" class="button -primary" value="Do not create" disabled />+<input type="submit" class="button -primary" value="Submit to create">+<input type="submit" class="button -primary" value="Do not create" disabled>diff --git a/lookbook/previews/open_project/deprecated/buttons_preview/default.html.erb b/lookbook/previews/open_project/deprecated/buttons_preview/default.html.erbindex 2c4efdbfc4e..65e5eb0fd94 100644--- a/lookbook/previews/open_project/deprecated/buttons_preview/default.html.erb+++ b/lookbook/previews/open_project/deprecated/buttons_preview/default.html.erb@@ -9,5 +9,5 @@<a href="#" class="button -with-icon icon-watched">Watch</a><a href="#" class="button">Click to watch</a>-<input type="submit" class="button" value="Submit to watch"/>-<input type="submit" class="button" value="Do not watch" disabled />+<input type="submit" class="button" value="Submit to watch">+<input type="submit" class="button" value="Do not watch" disabled>diff --git a/lookbook/previews/open_project/deprecated/buttons_preview/highlight.html.erb b/lookbook/previews/open_project/deprecated/buttons_preview/highlight.html.erbindex 4a68fdaa550..d9c1dc985e7 100644--- a/lookbook/previews/open_project/deprecated/buttons_preview/highlight.html.erb+++ b/lookbook/previews/open_project/deprecated/buttons_preview/highlight.html.erb@@ -9,5 +9,5 @@<a href="#" class="button -primary -with-icon icon-checkmark">Apply</a><a href="#" class="button -primary">Click to apply</a>-<input type="submit" class="button -primary" value="Submit to apply"/>-<input type="submit" class="button -primary" value="Do not apply" disabled />+<input type="submit" class="button -primary" value="Submit to apply">+<input type="submit" class="button -primary" value="Do not apply" disabled>diff --git a/lookbook/previews/open_project/deprecated/buttons_preview/transparent.html.erb b/lookbook/previews/open_project/deprecated/buttons_preview/transparent.html.erbindex 8b9c9cdaa3c..1ff30cc9b41 100644--- a/lookbook/previews/open_project/deprecated/buttons_preview/transparent.html.erb+++ b/lookbook/previews/open_project/deprecated/buttons_preview/transparent.html.erb@@ -9,5 +9,5 @@<a href="#" class="button -transparent -with-icon icon-forums">Comment</a><a href="#" class="button -transparent">Click to comment</a>-<input type="submit" class="button -transparent" value="Submit to comment"/>-<input type="submit" class="button -transparent" value="Do not comment" disabled />+<input type="submit" class="button -transparent" value="Submit to comment">+<input type="submit" class="button -transparent" value="Do not comment" disabled>diff --git a/lookbook/previews/open_project/deprecated/forms_preview/bordered.html.erb b/lookbook/previews/open_project/deprecated/forms_preview/bordered.html.erbindex a50cf37ec2b..b119b3ad186 100644--- a/lookbook/previews/open_project/deprecated/forms_preview/bordered.html.erb+++ b/lookbook/previews/open_project/deprecated/forms_preview/bordered.html.erb@@ -8,7 +8,7 @@</div></div>- <hr class="form--separator" />+ <hr class="form--separator"><button class="button -primary">Save</button><button class="button">Cancel</button></form>diff --git a/lookbook/previews/open_project/deprecated/forms_preview/bordered_compressed.html.erb b/lookbook/previews/open_project/deprecated/forms_preview/bordered_compressed.html.erbindex 22c5df438cd..a94eac08fe8 100644--- a/lookbook/previews/open_project/deprecated/forms_preview/bordered_compressed.html.erb+++ b/lookbook/previews/open_project/deprecated/forms_preview/bordered_compressed.html.erb@@ -8,7 +8,7 @@</div></div>- <hr class="form--separator" />+ <hr class="form--separator"><button class="button -primary">Save</button><button class="button">Cancel</button></form>diff --git a/lookbook/previews/open_project/deprecated/forms_preview/field_types.html.erb b/lookbook/previews/open_project/deprecated/forms_preview/field_types.html.erbindex c9509a48183..c180d45c897 100644--- a/lookbook/previews/open_project/deprecated/forms_preview/field_types.html.erb+++ b/lookbook/previews/open_project/deprecated/forms_preview/field_types.html.erb@@ -15,7 +15,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod</section>-<section class="form--section"><h3 class="form--section-title">Checkboxes</h3>@@ -38,7 +37,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmodAbacaxi</label>-<form class="form"><div class="form--field"><label class="form--label" for="checkbox_example_choice2">Eat fruit:</label>@@ -50,7 +48,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod</div></form>-<form class="form"><div class="form--field"><label class="form--label">Multiple choices:</label>@@ -78,7 +75,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod</form></section>-<section class="form--section"><h3 class="form--section-title">Radio buttons</h3><form class="form">@@ -110,14 +106,12 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod<option>three</option></select>-<select class="form--select" multiple><option>one</option><option>two</option><option>three</option></select>-<select class="form--select"><optgroup label="group one"><option>one dot one</option>@@ -128,7 +122,6 @@ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod</optgroup></select>-<form class="form"><div class="form--field"><label class="form--label">Oranges:</label>diff --git a/lookbook/previews/open_project/deprecated/forms_preview/field_widths.html.erb b/lookbook/previews/open_project/deprecated/forms_preview/field_widths.html.erbindex 466031dfbbd..00e1a202bba 100644--- a/lookbook/previews/open_project/deprecated/forms_preview/field_widths.html.erb+++ b/lookbook/previews/open_project/deprecated/forms_preview/field_widths.html.erb@@ -59,7 +59,6 @@</div></section>-<section class="form--section"><h3 class="form--section-title">Input type "text-area"</h3><div class="form--field -required">@@ -120,7 +119,6 @@</div></section>-<section class="form--section"><h3 class="form--section-title">Input type "select"</h3><div class="form--field -required">diff --git a/lookbook/previews/open_project/deprecated/modal_preview/default.html.erb b/lookbook/previews/open_project/deprecated/modal_preview/default.html.erbindex 5b102a5c1e0..ef0bc898a16 100644--- a/lookbook/previews/open_project/deprecated/modal_preview/default.html.erb+++ b/lookbook/previews/open_project/deprecated/modal_preview/default.html.erb@@ -48,8 +48,7 @@<div class="spot-action-bar--right"><buttontype="button"- class="spot-modal--cancel-button button button_no-margin spot-action-bar--action"- >Cancel+ class="spot-modal--cancel-button button button_no-margin spot-action-bar--action">Cancel</button><button name="button" type="submit" class="button button_no-margin spot-action-bar--action">Close</button></div>diff --git a/lookbook/previews/open_project/deprecated/toast_preview/upload.html.erb b/lookbook/previews/open_project/deprecated/toast_preview/upload.html.erbindex 156fa25a9a5..3e17f9b98b5 100644--- a/lookbook/previews/open_project/deprecated/toast_preview/upload.html.erb+++ b/lookbook/previews/open_project/deprecated/toast_preview/upload.html.erb@@ -1,5 +1,5 @@<h3>In progress</h3>-<hr/>+<hr><div class="op-toast -upload"><div class="op-toast--content">@@ -16,7 +16,7 @@</div><h3>Uplaod progress done</h3>-<hr/>+<hr><div class="op-toast -upload"><div class="op-toast--content">diff --git a/lookbook/previews/open_project/deprecated/tooltip_preview/forms.html.erb b/lookbook/previews/open_project/deprecated/tooltip_preview/forms.html.erbindex 43ffec07f60..cf251e54ea2 100644--- a/lookbook/previews/open_project/deprecated/tooltip_preview/forms.html.erb+++ b/lookbook/previews/open_project/deprecated/tooltip_preview/forms.html.erb@@ -3,7 +3,7 @@<label for="kurosaki" class="form--label">Kurosaki</label><div class="form--field-container"><div class="form--text-field-container">- <input type="text" placeholder="First name" class="form--text-field" id="kurosaki" >+ <input type="text" placeholder="First name" class="form--text-field" id="kurosaki"></div><div class="form--tooltip-container"><span class="tooltip--left" tabindex="0" data-tooltip="First name of the son">diff --git a/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb b/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erbindex 09f4ab915a6..128c781c4cf 100644--- a/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb+++ b/lookbook/previews/open_project/deprecated/widget_component_preview/default.html.erb@@ -17,7 +17,7 @@Enter your login <em class="danger-zone--expected-value">[email protected]</em> to verify the deletion.</p><div class="danger-zone--verification">- <input type="text"></input>+ <input type="text"><input><button class="button -primary" disabled><i class="button--icon icon-delete"></i><span class="button--text">Delete</span>diff --git a/lookbook/previews/open_project/storages/admin/oauth_access_grant_nudge_modal_component_preview/default.html.erb b/lookbook/previews/open_project/storages/admin/oauth_access_grant_nudge_modal_component_preview/default.html.erbindex e1c5a3c3889..fcd18981abf 100644--- a/lookbook/previews/open_project/storages/admin/oauth_access_grant_nudge_modal_component_preview/default.html.erb+++ b/lookbook/previews/open_project/storages/admin/oauth_access_grant_nudge_modal_component_preview/default.html.erb@@ -1,4 +1,4 @@<p>- <strong>Default</strong><br/>+ <strong>Default</strong><br><%= render(Storages::Admin::Storages::OAuthAccessGrantNudgeModalComponent.new(storage:, confirm_button_url:)) %></p>diff --git a/lookbook/previews/open_project/users/avatar_component_preview/sizes.html.erb b/lookbook/previews/open_project/users/avatar_component_preview/sizes.html.erbindex 3ed6fec8279..87ad19d99af 100644--- a/lookbook/previews/open_project/users/avatar_component_preview/sizes.html.erb+++ b/lookbook/previews/open_project/users/avatar_component_preview/sizes.html.erb@@ -1,12 +1,12 @@<p>- <strong>Default</strong><br/>+ <strong>Default</strong><br><%= render(Users::AvatarComponent.new(user: user, size: :default)) %></p><p>- <strong>Medium</strong><br/>+ <strong>Medium</strong><br><%= render(Users::AvatarComponent.new(user: user, size: :medium)) %></p><p>- <strong>Mini</strong><br/>+ <strong>Mini</strong><br><%= render(Users::AvatarComponent.new(user: user, size: :mini)) %></p>diff --git a/lookbook/previews/patterns/forms_preview/default.html.erb b/lookbook/previews/patterns/forms_preview/default.html.erbindex 8ebbc3db5e9..a521a87a5c2 100644--- a/lookbook/previews/patterns/forms_preview/default.html.erb+++ b/lookbook/previews/patterns/forms_preview/default.html.erb@@ -36,7 +36,6 @@city_list.option(label: "Seattle", value: "seattle")end-f.text_field(name: :lots_of_text,label: "XLarge",@@ -44,7 +43,6 @@input_width: :xlarge)-f.text_field(name: :lots_of_text,label: "XXLarge",diff --git a/modules/auth_saml/app/components/saml/providers/info_component.html.erb b/modules/auth_saml/app/components/saml/providers/info_component.html.erbindex 8c1957332f5..df7bb1f83de 100644--- a/modules/auth_saml/app/components/saml/providers/info_component.html.erb+++ b/modules/auth_saml/app/components/saml/providers/info_component.html.erb@@ -1,3 +1,3 @@<%= render(Primer::Beta::Heading.new(tag: :h4)) { I18n.t('saml.info.title') } %>-<%= render(Primer::Beta::Text.new) { I18n.t('saml.info.description') }%>+<%= render(Primer::Beta::Text.new) { I18n.t('saml.info.description') } %>diff --git a/modules/auth_saml/app/components/saml/providers/view_component.html.erb b/modules/auth_saml/app/components/saml/providers/view_component.html.erbindex 51732c14c1a..d2418fae63e 100644--- a/modules/auth_saml/app/components/saml/providers/view_component.html.erb+++ b/modules/auth_saml/app/components/saml/providers/view_component.html.erb@@ -147,6 +147,5 @@))endend- end- %>+ end %><% end %>diff --git a/modules/auth_saml/app/views/saml/providers/_form.html.erb b/modules/auth_saml/app/views/saml/providers/_form.html.erbindex 2573404127b..82d9bf2e385 100644--- a/modules/auth_saml/app/views/saml/providers/_form.html.erb+++ b/modules/auth_saml/app/views/saml/providers/_form.html.erb@@ -92,8 +92,7 @@<div class="form--field-container"><%= text_field_tag 'saml_provider[request_attributes][][name]',request['name'],- id: "#{base_key}_name"- %>+ id: "#{base_key}_name" %></div></div><div class="form--field -required">@@ -101,10 +100,9 @@<div class="form--field-container"><%= text_field_tag 'saml_provider[request_attributes][][name_format]',request['name_format'],- id: "#{base_key}_format"- %>+ id: "#{base_key}_format" %></div></div>- <hr/>+ <hr><% end %></fieldset>diff --git a/modules/auth_saml/app/views/saml/providers/confirm_destroy.html.erb b/modules/auth_saml/app/views/saml/providers/confirm_destroy.html.erbindex 1eb1e53eb0a..a171a452953 100644--- a/modules/auth_saml/app/views/saml/providers/confirm_destroy.html.erb+++ b/modules/auth_saml/app/views/saml/providers/confirm_destroy.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.<ul class="mb-3"><li> <%= t('provider.delete_warning.delete_result_1') %><li> <%= t('provider.delete_warning.delete_result_user_count', count: @provider.user_count) %>- <% if Setting.omniauth_direct_login_provider == @provider.slug %>+ <% if Setting.omniauth_direct_login_provider == @provider.slug %><li> <%= t('provider.delete_warning.delete_result_direct') %><% end %></ul>diff --git a/modules/auth_saml/app/views/saml/providers/index.html.erb b/modules/auth_saml/app/views/saml/providers/index.html.erbindex 16c1bcfb4ef..b69808fbfb0 100644--- a/modules/auth_saml/app/views/saml/providers/index.html.erb+++ b/modules/auth_saml/app/views/saml/providers/index.html.erb@@ -16,8 +16,7 @@button.with_leading_visual_icon(icon: :plus)t('saml.providers.singular')end- end- %>+ end %><% end %><%= render ::Saml::Providers::TableComponent.new(rows: @providers) %>diff --git a/modules/avatars/app/views/avatars/users/_gravatars.html.erb b/modules/avatars/app/views/avatars/users/_gravatars.html.erbindex 72156dccab7..b617baf3783 100644--- a/modules/avatars/app/views/avatars/users/_gravatars.html.erb+++ b/modules/avatars/app/views/avatars/users/_gravatars.html.erb@@ -1,5 +1,5 @@<fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= t 'avatars.label_gravatar' %>"><%= t 'avatars.label_gravatar' %></legend>+ <legend class="form--fieldset-legend" title="<%= t 'avatars.label_gravatar' %>"><%= t 'avatars.label_gravatar' %></legend><p><%= t 'avatars.text_your_current_gravatar' %></p>diff --git a/modules/avatars/app/views/avatars/users/_local_avatars.html.erb b/modules/avatars/app/views/avatars/users/_local_avatars.html.erbindex 8b7fca49908..0d348ce4b17 100644--- a/modules/avatars/app/views/avatars/users/_local_avatars.html.erb+++ b/modules/avatars/app/views/avatars/users/_local_avatars.html.erb@@ -3,7 +3,7 @@<p><%= t 'avatars.text_your_local_avatar' %><% if @manager.gravatar_enabled? %>- <br/>+ <br><%= t 'avatars.text_local_avatar_over_gravatar' %><% end %></p>diff --git a/modules/avatars/app/views/settings/_openproject_avatars.html.erb b/modules/avatars/app/views/settings/_openproject_avatars.html.erbindex 394f7f9db0d..e8cda83fb9c 100644--- a/modules/avatars/app/views/settings/_openproject_avatars.html.erb+++ b/modules/avatars/app/views/settings/_openproject_avatars.html.erb@@ -1,7 +1,7 @@<% manager = ::OpenProject::Avatars::AvatarManager %><fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= t 'avatars.label_gravatar' %>"><%= t 'avatars.label_gravatar' %></legend>+ <legend class="form--fieldset-legend" title="<%= t 'avatars.label_gravatar' %>"><%= t 'avatars.label_gravatar' %></legend><div class="form--field"><%= styled_label_tag 'settings-enable-gravatars', t('avatars.settings.enable_gravatars') %>@@ -13,9 +13,9 @@</fieldset><fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= t 'avatars.label_local_avatar' %>"><%= t 'avatars.label_local_avatar' %></legend>+ <legend class="form--fieldset-legend" title="<%= t 'avatars.label_local_avatar' %>"><%= t 'avatars.label_local_avatar' %></legend><div class="form--field">- <%= styled_label_tag 'settings-enable-local-avatars', t('avatars.settings.enable_local_avatars') %>+ <%= styled_label_tag 'settings-enable-local-avatars', t('avatars.settings.enable_local_avatars') %><%= hidden_field_tag 'settings[enable_local_avatars]', 0 %><div class="form--field-container"><%= styled_check_box_tag 'settings[enable_local_avatars]', 1, manager.local_avatars_enabled?, container_class: '-xslim', id: 'settings-enable-local-avatars' %>diff --git a/modules/backlogs/app/views/rb_burndown_charts/_burndown.html.erb b/modules/backlogs/app/views/rb_burndown_charts/_burndown.html.erbindex 50c24a33008..a8d54b5d2f2 100644--- a/modules/backlogs/app/views/rb_burndown_charts/_burndown.html.erb+++ b/modules/backlogs/app/views/rb_burndown_charts/_burndown.html.erb@@ -91,7 +91,6 @@ See COPYRIGHT and LICENSE files for more details.}).appendTo("body").css('z-index', 2000).fadeIn(200);},-showTooltipOnHover: function (event, pos, item) {if (item) {diff --git a/modules/bim/app/views/bim/bcf/issues/_import_errors.html.erb b/modules/bim/app/views/bim/bcf/issues/_import_errors.html.erbindex 22894cce46a..792fab26e81 100644--- a/modules/bim/app/views/bim/bcf/issues/_import_errors.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/_import_errors.html.erb@@ -14,9 +14,9 @@<%= obj.mail %> (<%= obj.name %>)<% else %><%= obj %>- <% end %>+ <% end %><% else %>- <%= "(#{error_default_text})"%>+ <%= "(#{error_default_text})" %><% end %></li><% end %>diff --git a/modules/bim/app/views/bim/bcf/issues/_import_solution.html.erb b/modules/bim/app/views/bim/bcf/issues/_import_solution.html.erbindex aa3da722881..35de6c1ac08 100644--- a/modules/bim/app/views/bim/bcf/issues/_import_solution.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/_import_solution.html.erb@@ -1,7 +1,7 @@<hr class="form--separator"><div class="form--field">- <%= hidden_field_tag "import_options[#{hidden_field_identifier}]", 'chose' %>+ <%= hidden_field_tag "import_options[#{hidden_field_identifier}]", 'chose' %><%= styled_label_tag "import_options[#{solution_select_id}][]", solution_text %><div class="form--field-container">diff --git a/modules/bim/app/views/bim/bcf/issues/_render_issues.html.erb b/modules/bim/app/views/bim/bcf/issues/_render_issues.html.erbindex 06a2824d0d8..b0204b9ed34 100644--- a/modules/bim/app/views/bim/bcf/issues/_render_issues.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/_render_issues.html.erb@@ -3,7 +3,7 @@<% issues.each do |issue| %><% status_id = issue.work_package&.status_id %><% highlighting_class = status_id.present? ? "__hl_background_status_#{status_id}" : '' %>- <% highlighting_class << ' -failed' if issue.errors.present? %>+ <% highlighting_class << ' -failed' if issue.errors.present? %><div class="<%= highlighting_class %>"><p><% if issue.work_package %>@@ -25,7 +25,7 @@<% if issue.viewpoints.empty? %><p>(<%= t('bcf.no_viewpoints') %>)</p><% else %>- <img src="<%= API::V3::Utilities::PathHelper::ApiV3Path.attachment_content(issue.viewpoints.first.snapshot.id) %>" />+ <img src="<%= API::V3::Utilities::PathHelper::ApiV3Path.attachment_content(issue.viewpoints.first.snapshot.id) %>"><% end %><% end %></div>diff --git a/modules/bim/app/views/bim/bcf/issues/configure_non_members.html.erb b/modules/bim/app/views/bim/bcf/issues/configure_non_members.html.erbindex c0710cf4b6b..b9fc4a5716d 100644--- a/modules/bim/app/views/bim/bcf/issues/configure_non_members.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/configure_non_members.html.erb@@ -25,7 +25,7 @@<%= t('bcf.bcf_xml.import.contact_project_admin') %></div></div>- <br/>+ <br><%= link_to t(:button_cancel),project_work_packages_path(@project),class: 'button' %>@@ -36,7 +36,7 @@<%= I18n.t('text_no_roles_defined') %></div></div>- <br/>+ <br><%= link_to t(:button_cancel),defaults_bcf_project_ifc_models_path(@project),class: 'button' %>diff --git a/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb b/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erbindex c37e4087c61..79aafacc228 100644--- a/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/configure_unknown_mails.html.erb@@ -61,7 +61,7 @@<%= I18n.t('text_no_roles_defined') %></div></div>- <br/>+ <br><% end %><%= link_to t(:button_cancel),defaults_bcf_project_ifc_models_path(@project),diff --git a/modules/bim/app/views/bim/bcf/issues/perform_import.html.erb b/modules/bim/app/views/bim/bcf/issues/perform_import.html.erbindex da834cc6221..23b3fe754bd 100644--- a/modules/bim/app/views/bim/bcf/issues/perform_import.html.erb+++ b/modules/bim/app/views/bim/bcf/issues/perform_import.html.erb@@ -1,4 +1,4 @@-<link rel="stylesheet" href="/highlighting/styles.css"/>+<link rel="stylesheet" href="/highlighting/styles.css"><%=render Primer::OpenProject::PageHeader.new do |header|@@ -22,7 +22,6 @@<%= render partial: 'render_issues', locals: { issues: @issues[:successful] } %></fieldset>-<fieldset class="form--fieldset"><legend class="form--fieldset-legend"><%= I18n.t('bcf.label_imported_failed') %></legend><%= render partial: 'render_issues', locals: { issues: @issues[:failed] } %>diff --git a/modules/bim/app/views/bim/ifc_models/ifc_models/_form.html.erb b/modules/bim/app/views/bim/ifc_models/ifc_models/_form.html.erbindex f604ef79b61..78538e29687 100644--- a/modules/bim/app/views/bim/ifc_models/ifc_models/_form.html.erb+++ b/modules/bim/app/views/bim/ifc_models/ifc_models/_form.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<% unless @ifc_model.new_record? %>+<% unless @ifc_model.new_record? %><div class="form--field -required"><%= f.text_field :title, required: true, container_class: '-wide' %></div>@@ -35,13 +35,13 @@ See COPYRIGHT and LICENSE files for more details.<% if OpenProject::Configuration.direct_uploads? %><% Hash(@form).each do |key, value| %>- <input type="hidden" name="<%= key %>" value="<%= value %>" />+ <input type="hidden" name="<%= key %>" value="<%= value %>"><% end %><% end %><div class="form--field <%= @ifc_model.new_record? ? '-required': '' %>"><% if OpenProject::Configuration.direct_uploads? %>- <input class="form--file-field" type="file" name="file" accept=".ifc" />+ <input class="form--file-field" type="file" name="file" accept=".ifc"><% else %><%= f.file_field :ifc_attachment, accept: '.ifc' %><% end %>diff --git a/modules/bim/app/views/bim/ifc_models/ifc_models/new.html.erb b/modules/bim/app/views/bim/ifc_models/ifc_models/new.html.erbindex 2cfcf70d542..8bbea778edb 100644--- a/modules/bim/app/views/bim/ifc_models/ifc_models/new.html.erb+++ b/modules/bim/app/views/bim/ifc_models/ifc_models/new.html.erb@@ -36,7 +36,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= labelled_tabular_form_for @ifc_model, url: bcf_project_ifc_models_path(@project), html: { multipart: true } do |f| -%><%= error_messages_for @ifc_model %><%= render :partial => 'form', locals: { f: f } %>diff --git a/modules/bim/app/views/bim/ifc_models/ifc_viewer/show.html.erb b/modules/bim/app/views/bim/ifc_models/ifc_viewer/show.html.erbindex 2129d420199..c1151392774 100644--- a/modules/bim/app/views/bim/ifc_models/ifc_viewer/show.html.erb+++ b/modules/bim/app/views/bim/ifc_models/ifc_viewer/show.html.erb@@ -37,5 +37,4 @@ See COPYRIGHT and LICENSE files for more details.<%= render partial: 'unconverted_notice', locals: { unconverted: unconverted } %><% end %>-<openproject-base></openproject-base>diff --git a/modules/boards/app/views/boards/boards/_form.html.erb b/modules/boards/app/views/boards/boards/_form.html.erbindex 3342ccb7055..54b1af633be 100644--- a/modules/boards/app/views/boards/boards/_form.html.erb+++ b/modules/boards/app/views/boards/boards/_form.html.erb@@ -53,8 +53,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'form--select-container -wide remote-field--input',data: {'test-selector': 'project_id'- }- %>+ } %></div></div><% end %>@@ -71,8 +70,7 @@ See COPYRIGHT and LICENSE files for more details.linkMessage: t('boards.upsale.upgrade'),textMessage: t('boards.upsale.teaser_text'),moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:boards][:href]- }- %>+ } %></p><% end %>@@ -97,7 +95,7 @@ See COPYRIGHT and LICENSE files for more details.</div><img src="<%= frontend_asset_path board_type.image_path %>"- class="op-tile-block--image"/>+ class="op-tile-block--image"></label><% end %></div>diff --git a/modules/boards/app/views/boards/boards/new.html.erb b/modules/boards/app/views/boards/boards/new.html.erbindex cc500c5c5b6..c96ec794a47 100644--- a/modules/boards/app/views/boards/boards/new.html.erb+++ b/modules/boards/app/views/boards/boards/new.html.erb@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.id: 'board-form',data: { turbo: false }} do |f| -%>-+<%= render :partial => 'form', :locals => {:f => f} %><%= styled_button_tag t(:button_create), class: '-primary' %><%= link_to t(:button_cancel), { controller: 'boards/boards', action: :index },diff --git a/modules/budgets/app/components/budgets/actual_material_budget_items_component.html.erb b/modules/budgets/app/components/budgets/actual_material_budget_items_component.html.erbindex 1fe717e5a60..9f99907783b 100644--- a/modules/budgets/app/components/budgets/actual_material_budget_items_component.html.erb+++ b/modules/budgets/app/components/budgets/actual_material_budget_items_component.html.erb@@ -16,7 +16,7 @@<div class="generic-table--sort-header-outer"><div class="generic-table--sort-header"><span>- <%= MaterialBudgetItem.human_attribute_name(:work_package)%>+ <%= MaterialBudgetItem.human_attribute_name(:work_package) %></span></div></div>diff --git a/modules/budgets/app/components/budgets/planned_labor_budget_items_component.html.erb b/modules/budgets/app/components/budgets/planned_labor_budget_items_component.html.erbindex 1e293885ffe..f37a377ca84 100644--- a/modules/budgets/app/components/budgets/planned_labor_budget_items_component.html.erb+++ b/modules/budgets/app/components/budgets/planned_labor_budget_items_component.html.erb@@ -1,5 +1,5 @@<div class="grid-content medium-6">- <h4><%= Budget.human_attribute_name(:labor_budget)%></h4>+ <h4><%= Budget.human_attribute_name(:labor_budget) %></h4><div><div class="generic-table--container -with-footer"><div class="generic-table--results-container">diff --git a/modules/budgets/app/views/budgets/_edit.html.erb b/modules/budgets/app/views/budgets/_edit.html.erbindex f58e37e7d3c..f2565add04f 100644--- a/modules/budgets/app/views/budgets/_edit.html.erb+++ b/modules/budgets/app/views/budgets/_edit.html.erb@@ -35,6 +35,6 @@ See COPYRIGHT and LICENSE files for more details.:class => 'form'} do |f| %><%= render :partial => 'form', :locals => {:f => f} %><div class="generic-table--action-buttons">- <%= styled_button_tag t(:button_submit), class: '-with-icon icon-checkmark -primary', id: 'budget-table--submit-button'%>+ <%= styled_button_tag t(:button_submit), class: '-with-icon icon-checkmark -primary', id: 'budget-table--submit-button' %></div><% end %>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.erbindex 1f9f6e61d21..123e0e4ec1f 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@@ -62,8 +62,7 @@ See COPYRIGHT and LICENSE files for more details.data: {:'request-key' => 'hours',:'action' => 'keyup->costs--budget-subform#valueChanged'- }- %>+ } %></div></div></td>@@ -103,8 +102,7 @@ See COPYRIGHT and LICENSE files for more details.locals: {field_name: "#{name_prefix}[amount]",cost_value: cost_value,- }- %>+ } %></td><% end %><td class="delete form--td budget-table--fields buttons">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.erbindex 4fc76ecf82f..e6d4e1030c4 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@@ -62,8 +62,7 @@ See COPYRIGHT and LICENSE files for more details.data: {:'request-key' => 'units',:'action' => 'keyup->costs--budget-subform#valueChanged'- }- %>+ } %></div></div></td>@@ -103,8 +102,7 @@ See COPYRIGHT and LICENSE files for more details.locals: {field_name: "#{name_prefix}[amount]",cost_value: cost_value,- }- %>+ } %></td><% end %><td class="delete form--td budget-table--fields buttons">diff --git a/modules/budgets/app/views/budgets/new.html.erb b/modules/budgets/app/views/budgets/new.html.erbindex 19c9ac07a75..b4104b42060 100644--- a/modules/budgets/app/views/budgets/new.html.erb+++ b/modules/budgets/app/views/budgets/new.html.erb@@ -45,5 +45,5 @@ See COPYRIGHT and LICENSE files for more details.<%= 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_and_continue), :name => 'continue',- class: 'button -primary'%>+ class: 'button -primary' %><% end %>diff --git a/modules/budgets/app/views/budgets/show.html.erb b/modules/budgets/app/views/budgets/show.html.erbindex 331837a5d54..9e9f6c94943 100644--- a/modules/budgets/app/views/budgets/show.html.erb+++ b/modules/budgets/app/views/budgets/show.html.erb@@ -31,7 +31,7 @@ See COPYRIGHT and LICENSE files for more details.<%= render Budgets::ShowPageHeaderComponent.new(budget: @budget, project: @project) %><div class="<%= @budget.css_classes %> details">- <h3><%=h @budget.subject %></h3>+ <h3><%= h @budget.subject %></h3><p class="author"><%= authoring @budget.created_at, @budget.author %>.<%= t(:label_updated_time, value: distance_of_time_in_words(Time.now, @budget.updated_at)) + '.' if @budget.created_at != @budget.updated_at %>diff --git a/modules/budgets/app/views/budgets/subform/_labor_budget_subform.html.erb b/modules/budgets/app/views/budgets/subform/_labor_budget_subform.html.erbindex b26c97167bf..b16d3928969 100644--- a/modules/budgets/app/views/budgets/subform/_labor_budget_subform.html.erb+++ b/modules/budgets/app/views/budgets/subform/_labor_budget_subform.html.erb@@ -46,9 +46,9 @@ end -%><col><col><col>- <% if User.current.allowed_in_project?(:view_cost_rates, @project)%>+ <% if User.current.allowed_in_project?(:view_cost_rates, @project) %><col>- <%end%>+ <% end %><col></colgroup><thead>@@ -80,7 +80,7 @@ end -%></div></div></th>- <% if User.current.allowed_in_project?(:view_cost_rates, @project)%>+ <% if User.current.allowed_in_project?(:view_cost_rates, @project) %><th class="currency" id="labor_budget_items_price"><div class="generic-table--sort-header-outer"><div class="generic-table--sort-header">@@ -90,7 +90,7 @@ end -%></div></div></th>- <%end%>+ <% end %><th></th></tr></thead>diff --git a/modules/budgets/app/views/budgets/subform/_material_budget_subform.html.erb b/modules/budgets/app/views/budgets/subform/_material_budget_subform.html.erbindex 5ddca76cbce..17c1dc75d81 100644--- a/modules/budgets/app/views/budgets/subform/_material_budget_subform.html.erb+++ b/modules/budgets/app/views/budgets/subform/_material_budget_subform.html.erb@@ -35,7 +35,7 @@ See COPYRIGHT and LICENSE files for more details.data-controller="costs--budget-subform"data-application-target="dynamic"data-costs--budget-subform-item-count-value="<%= @budget.material_budget_items.length %>"- data-costs--budget-subform-update-url-value="<%=url_for(action: :update_material_budget_item, project_id: @project.id) %>">+ data-costs--budget-subform-update-url-value="<%= url_for(action: :update_material_budget_item, project_id: @project.id) %>"><legend class="form--fieldset-legend"><%= Budget.human_attribute_name(:material_budget) %></legend><div class="generic-table--container"><div class="generic-table--results-container">@@ -44,9 +44,9 @@ See COPYRIGHT and LICENSE files for more details.<col><col><col>- <% if User.current.allowed_in_project?(:view_cost_rates, @project)%>+ <% if User.current.allowed_in_project?(:view_cost_rates, @project) %><col>- <%end%>+ <% end %><col data-highlight="false"></colgroup><thead>@@ -87,7 +87,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div></th>- <% if User.current.allowed_in_project?(:view_cost_rates, @project)%>+ <% if User.current.allowed_in_project?(:view_cost_rates, @project) %><th class="currency" id="material_budget_items_price"><div class="generic-table--sort-header-outer"><div class="generic-table--sort-header">@@ -97,7 +97,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div></th>- <%end%>+ <% end %><th></th></tr></thead>diff --git a/modules/calendar/app/views/calendar/calendars/_form.html.erb b/modules/calendar/app/views/calendar/calendars/_form.html.erbindex 0dbf7026b05..bc167ab6836 100644--- a/modules/calendar/app/views/calendar/calendars/_form.html.erb+++ b/modules/calendar/app/views/calendar/calendars/_form.html.erb@@ -53,13 +53,12 @@ See COPYRIGHT and LICENSE files for more details.class: 'form--select-container -wide remote-field--input',data: {'test-selector': 'project_id'- }- %>+ } %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.project',singular: t(:label_calendar).downcase,- plural: t(:label_calendar_plural)%></p>+ plural: t(:label_calendar_plural) %></p></div></div>@@ -69,8 +68,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field-container"><%= styled_check_box_tag 'query[public]','1',- @view.public- %>+ @view.public %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.public' %></p>@@ -83,8 +81,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field-container"><%= styled_check_box_tag 'query[starred]','1',- @view.starred- %>+ @view.starred %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.favoured' %></p>diff --git a/modules/calendar/app/views/calendar/calendars/index.html.erb b/modules/calendar/app/views/calendar/calendars/index.html.erbindex f380220465b..9701bc81045 100644--- a/modules/calendar/app/views/calendar/calendars/index.html.erb+++ b/modules/calendar/app/views/calendar/calendars/index.html.erb@@ -45,5 +45,4 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= render ::Calendar::TableComponent.new(rows: @views, current_project: @project, current_user: current_user) %>diff --git a/modules/costs/app/views/cost_types/_list.html.erb b/modules/costs/app/views/cost_types/_list.html.erbindex f5c50f77d51..19fb91b5bea 100644--- a/modules/costs/app/views/cost_types/_list.html.erb+++ b/modules/costs/app/views/cost_types/_list.html.erb@@ -85,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.<%= content_tag :td, link_to(cost_type.name, {:controller => '/cost_types', :action => 'edit', :id => cost_type}) %><%= content_tag :td, cost_type.unit %><%= content_tag :td, cost_type.unit_plural %>- <%= content_tag :td, to_currency_with_empty(cost_type.rate_at(@fixed_date)), :class => "currency", :id => "cost_type_#{cost_type.id}_rate"%>+ <%= content_tag :td, to_currency_with_empty(cost_type.rate_at(@fixed_date)), :class => "currency", :id => "cost_type_#{cost_type.id}_rate" %><td><%= form_for cost_type, :url => { :controller => '/cost_types', :action => 'set_rate', :id => cost_type }, method: :put, html: { class: 'inline-label' } do |f| %><label class="hidden-for-sighted" for="<%= "rate_field_#{cost_type.id}" %>"><%= t(:caption_set_rate) %></label>@@ -120,7 +120,7 @@ See COPYRIGHT and LICENSE files for more details.<% end %></td></tr>- <tr style="display:none;" >+ <tr style="display:none;"></tr><% end %></tbody>diff --git a/modules/costs/app/views/cost_types/_rate.html.erb b/modules/costs/app/views/cost_types/_rate.html.erbindex 91ca6a373f8..1372a9c97d5 100644--- a/modules/costs/app/views/cost_types/_rate.html.erb+++ b/modules/costs/app/views/cost_types/_rate.html.erb@@ -39,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.error_messages = error_messages_for 'rate'-%>-<% unless error_messages.blank? %><tr><td colspan="3"><%= error_messages %></td></tr><% end %>diff --git a/modules/costs/app/views/cost_types/edit.html.erb b/modules/costs/app/views/cost_types/edit.html.erbindex da0359006e9..7e2a83dab4c 100644--- a/modules/costs/app/views/cost_types/edit.html.erb+++ b/modules/costs/app/views/cost_types/edit.html.erb@@ -117,7 +117,7 @@ See COPYRIGHT and LICENSE files for more details.</div></div><div class="wp-inline-create-button">- <label class="hidden-for-sighted" for="add_rate_date" %>"><%= t(:description_date_for_new_rate) %></label>+ <label class="hidden-for-sighted" for="add_rate_date" <%= t(:description_date_for_new_rate) %>><a id="add_rate_date"href="#"class="add-row-button wp-inline-create--add-link"diff --git a/modules/costs/app/views/cost_types/index.html.erb b/modules/costs/app/views/cost_types/index.html.erbindex 4e0d119c86e..c5bfbaa0663 100644--- a/modules/costs/app/views/cost_types/index.html.erb+++ b/modules/costs/app/views/cost_types/index.html.erb@@ -61,8 +61,7 @@ See COPYRIGHT and LICENSE files for more details.value: @fixed_date,id: :start_date,name: :fixed_date- }- %>+ } %></div></li><li class="simple-filters--filter">diff --git a/modules/costs/app/views/costlog/edit.html.erb b/modules/costs/app/views/costlog/edit.html.erbindex 32a26bcab40..b586f48fb9b 100644--- a/modules/costs/app/views/costlog/edit.html.erb+++ b/modules/costs/app/views/costlog/edit.html.erb@@ -122,8 +122,7 @@ See COPYRIGHT and LICENSE files for more details.locals: {field_name: "cost_entry[overridden_costs]",cost_value: unitless_currency_number(@cost_entry.real_costs),- }- %>+ } %></span><% else %>diff --git a/modules/costs/app/views/costs_settings/show.html.erb b/modules/costs/app/views/costs_settings/show.html.erbindex 1f4be12f663..55efa3ee5b9 100644--- a/modules/costs/app/views/costs_settings/show.html.erb+++ b/modules/costs/app/views/costs_settings/show.html.erb@@ -63,6 +63,5 @@ See COPYRIGHT and LICENSE files for more details.<%- end %></section>-<%= styled_button_tag t(:button_save), class: '-primary -with-icon icon-checkmark' %><% end %>diff --git a/modules/costs/app/views/hourly_rates/_list_project.html.erb b/modules/costs/app/views/hourly_rates/_list_project.html.erbindex 4bdd44a8635..76100eee53a 100644--- a/modules/costs/app/views/hourly_rates/_list_project.html.erb+++ b/modules/costs/app/views/hourly_rates/_list_project.html.erb@@ -43,7 +43,7 @@ See COPYRIGHT and LICENSE files for more details.<%= link_to t(:button_update), {:controller => '/hourly_rates', :action => 'edit', :project_id => project, :id => @user}, :class => 'icon icon-edit', :accesskey => accesskey(:edit) %><% end %></div>-<h3><%=h project.name %><%= (" - " + number_to_currency(current_rate.rate)) if current_rate %></h3>+<h3><%= h project.name %><%= (" - " + number_to_currency(current_rate.rate)) if current_rate %></h3><% if rates.empty? %><%= no_results_box %><% else %>diff --git a/modules/costs/app/views/hourly_rates/edit.html.erb b/modules/costs/app/views/hourly_rates/edit.html.erbindex 96a630f690c..79ec32fe306 100644--- a/modules/costs/app/views/hourly_rates/edit.html.erb+++ b/modules/costs/app/views/hourly_rates/edit.html.erb@@ -46,10 +46,9 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%- default_rate = @user.current_default_rate -%>-<% if default_rate%>-<p><strong><%= t(:label_current_default_rate) %>:</strong> <%= number_to_currency(default_rate.rate)%></p>+<% if default_rate %>+<p><strong><%= t(:label_current_default_rate) %>:</strong> <%= number_to_currency(default_rate.rate) %></p><% end %><%= labelled_tabular_form_for @user,diff --git a/modules/costs/app/views/my/timer/show.html.erb b/modules/costs/app/views/my/timer/show.html.erbindex e0f1162c35b..f0c511e37ae 100644--- a/modules/costs/app/views/my/timer/show.html.erb+++ b/modules/costs/app/views/my/timer/show.html.erb@@ -3,14 +3,10 @@class="op-menu--item-action"data-controller="my--timers"data-my--timers-start-value="'<%= @timer.created_at %>'"- data-application-target="dynamic"- >+ data-application-target="dynamic"><span- data-my--timers-target="elapsedTime"+ data-my--timers-target="elapsedTime"></span>- ></span>--</div><% end %>diff --git a/modules/costs/app/views/projects/settings/time_entry_activities/_activities.html.erb b/modules/costs/app/views/projects/settings/time_entry_activities/_activities.html.erbindex e551605c032..3e02229fcfc 100644--- a/modules/costs/app/views/projects/settings/time_entry_activities/_activities.html.erb+++ b/modules/costs/app/views/projects/settings/time_entry_activities/_activities.html.erb@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details..each do |activity| %><div class="form--field"><%= styled_label_tag "time_entry_activities_project_#{activity.id}_active", activity.name %>- <div class="form--field-container" >+ <div class="form--field-container"><%= hidden_field_tag "time_entry_activities_project[][activity_id]",activity.id %><%= styled_check_box_tag "time_entry_activities_project[][active]",diff --git a/modules/costs/app/views/projects/settings/time_entry_activities/show.html.erb b/modules/costs/app/views/projects/settings/time_entry_activities/show.html.erbindex e4efde66e1e..ba7f44a3210 100644--- a/modules/costs/app/views/projects/settings/time_entry_activities/show.html.erb+++ b/modules/costs/app/views/projects/settings/time_entry_activities/show.html.erb@@ -44,7 +44,7 @@ See COPYRIGHT and LICENSE files for more details.locals: { project: @project } %><% end %>- <br/>+ <br><% else %><%= no_results_box custom_title: t('projects.settings.activities.no_results_title_text') %><% end %>diff --git a/modules/documents/app/views/documents/_document.html.erb b/modules/documents/app/views/documents/_document.html.erbindex 3d0244f1815..0fd5be2373e 100644--- a/modules/documents/app/views/documents/_document.html.erb+++ b/modules/documents/app/views/documents/_document.html.erb@@ -31,5 +31,5 @@ See COPYRIGHT and LICENSE files for more details.<p class="document-category-elements--date"><em><%= format_time(document.updated_at) %></em></p><div class="wiki op-uc-container">- <%= format_text(document.description) %>+ <%= format_text(document.description) %></div>diff --git a/modules/documents/app/views/documents/index.html.erb b/modules/documents/app/views/documents/index.html.erbindex 842896b2236..e12bba89f88 100644--- a/modules/documents/app/views/documents/index.html.erb+++ b/modules/documents/app/views/documents/index.html.erb@@ -50,7 +50,6 @@ See COPYRIGHT and LICENSE files for more details.%><% end %>-<% if @grouped.empty? %><%= no_results_box %><% end %>@@ -73,15 +72,15 @@ See COPYRIGHT and LICENSE files for more details.<%= radio_button_tag 'group_by', 'category', (@group_by == 'category'), class: 'submit-this-form' %><label for="group_by_category"><%= Document.human_attribute_name(:category) %>- </label><br />+ </label><br><%= radio_button_tag 'group_by', 'date', (@group_by == 'date'), class: 'submit-this-form' %><label for="group_by_date"><%= t(:label_date) %>- </label><br />+ </label><br><%= radio_button_tag 'group_by', 'title', (@group_by == 'title'), class: 'submit-this-form' %><label for="group_by_title"><%= Document.human_attribute_name(:title) %>- </label><br />+ </label><br><%= radio_button_tag 'group_by', 'author', (@group_by == 'author'), class: 'submit-this-form' %><label for="group_by_author"><%= t 'documents.label_attachment_author' %>diff --git a/modules/documents/app/views/documents/show.html.erb b/modules/documents/app/views/documents/show.html.erbindex 35abd864ab3..383648819a8 100644--- a/modules/documents/app/views/documents/show.html.erb+++ b/modules/documents/app/views/documents/show.html.erb@@ -66,7 +66,8 @@ See COPYRIGHT and LICENSE files for more details.t(:button_delete)endend- end %>+ end+%><div class="wiki op-uc-container"><%= format_text @document.description, attachments: @document.attachments %>diff --git a/modules/documents/app/views/help/wiki_syntax_detailed.html.erb b/modules/documents/app/views/help/wiki_syntax_detailed.html.erbindex b6b45bdfd5b..09a38b53cf1 100644--- a/modules/documents/app/views/help/wiki_syntax_detailed.html.erb+++ b/modules/documents/app/views/help/wiki_syntax_detailed.html.erb@@ -152,14 +152,12 @@ See COPYRIGHT and LICENSE files for more details.</ul></li></ul>-<p>Escaping:</p><ul><li>You can prevent OpenProject links from being parsed by preceding them with an exclamation mark: !</li></ul>-<h3><a name="4" class="wiki-page"></a>External links</h3><p>HTTP URLs and email addresses are automatically turned into clickable links:</p>@@ -178,10 +176,8 @@ https://www.openproject.org, [email protected]<p>displays: <a href="https://www.openproject.org" class="external">OpenProject web site</a></p>-<h2><a name="5" class="wiki-page"></a>Text formatting</h2>-<p>For things such as headlines, bold, tables, lists, OpenProject supports Textile syntax. See <a class="external" href="http://www.textism.com/tools/textile/">http://www.textism.com/tools/textile/</a> for information on using any of these features. A few samples are included below, but the engine is capable of much more of that.</p><h3><a name="6" class="wiki-page"></a>Font style</h3>@@ -222,7 +218,6 @@ h3. Subsubheading<p>OpenProject assigns an anchor to each of those headings thus you can link to them with "#Heading", "#Subheading" and so forth.</p>-<h3><a name="9" class="wiki-page"></a>Paragraphs</h3><pre>@@ -232,7 +227,6 @@ p=. centered<p style="text-align:center;">This is a centered paragraph.</p>-<h3><a name="10" class="wiki-page"></a>Blockquotes</h3><p>Start the paragraph with <strong>bq.</strong></p>@@ -245,10 +239,9 @@ To go live, all you need to add is a database and a web server.<p>Display:</p><blockquote>- <p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br />To go live, all you need to add is a database and a web server.</p>+ <p>Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern.<br>To go live, all you need to add is a database and a web server.</p></blockquote>-<h3><a name="11" class="wiki-page"></a>Table of content</h3><pre>diff --git a/modules/github_integration/app/views/deploy_targets/_form.html.erb b/modules/github_integration/app/views/deploy_targets/_form.html.erbindex 54a5ff99ab5..2f9b59dbd28 100644--- a/modules/github_integration/app/views/deploy_targets/_form.html.erb+++ b/modules/github_integration/app/views/deploy_targets/_form.html.erb@@ -36,8 +36,7 @@ See COPYRIGHT and LICENSE files for more details.['OpenProject'],{ container_class: '-slim' },disabled: true,- required: true- %>+ required: true %><span class="form--field-instructions"><%= t(:text_deploy_target_type_info) %></span>diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erbindex 26a18957c15..4b04606caeb 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/destroy_info.html.erb@@ -53,7 +53,7 @@</p><div class="danger-zone--verification">- <input type="text"></input>+ <input type="text"><input><%= styled_button_tag title: t(:button_delete), class: '-primary', disabled: true doconcat content_tag :i, '', class: 'button--icon icon-delete'concat content_tag :span, t(:button_delete), class: 'button--text'diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/new.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/new.html.erbindex 98cdf988fa6..ba63fd13a4e 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/new.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/new.html.erb@@ -10,7 +10,6 @@end%>-<%= labelled_tabular_form_for @filter,as: :synchronized_filter,url: { action: :create } do |f| %>diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/show.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/show.html.erbindex 03201e21d03..c1a2a801f2e 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/show.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_filters/show.html.erb@@ -13,7 +13,6 @@</div><% end %>-<section class="admin--edit-section"><%= render(AttributeGroups::AttributeGroupComponent.new) do |component|component.with_attribute(key: @filter.class.human_attribute_name(:name),diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erbindex 8c9da393ae5..d03bb9dd92a 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/destroy_info.html.erb@@ -11,16 +11,16 @@</p><p class="danger-zone--warning"><span class="icon icon-info2"></span>- <%= t('ldap_groups.synchronized_groups.destroy.confirmation', name: @group.dn, users_count: @group.users.count)%>+ <%= t('ldap_groups.synchronized_groups.destroy.confirmation', name: @group.dn, users_count: @group.users.count) %></p><p>- <span><%= t('ldap_groups.synchronized_groups.destroy.info')%></span>- <br/>+ <span><%= t('ldap_groups.synchronized_groups.destroy.info') %></span>+ <br><%= t('ldap_groups.synchronized_groups.destroy.verification',name: "<em class=\"danger-zone--expected-value\">#{h(@group.dn)}</em>").html_safe %></p><div class="danger-zone--verification">- <input type="text"></input>+ <input type="text"><input><%= styled_button_tag title: t(:button_delete), class: '-primary', disabled: true doconcat content_tag :i, '', class: 'button--icon icon-delete'concat content_tag :span, t(:button_delete), class: 'button--text'diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/new.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/new.html.erbindex e59c8acc5a8..ad6f038b098 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/new.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/new.html.erb@@ -17,7 +17,7 @@url: { action: :create } do |f| %><fieldset class="form--fieldset">- <legend class="form--fieldset-legend"><%= @group.class.human_attribute_name 'auth_source' %></legend>+ <legend class="form--fieldset-legend"><%= @group.class.human_attribute_name 'auth_source' %></legend><div class="form--field -required"><%= f.select :ldap_auth_source_id,@@ -31,7 +31,7 @@</div></fieldset><fieldset class="form--fieldset">- <legend class="form--fieldset-legend"><%= @group.class.model_name.human %></legend>+ <legend class="form--fieldset-legend"><%= @group.class.model_name.human %></legend><div class="form--field -required"><%= f.text_field :dn,diff --git a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/show.html.erb b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/show.html.erbindex 789d2f504bc..57fea9be78c 100644--- a/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/show.html.erb+++ b/modules/ldap_groups/app/views/ldap_groups/synchronized_groups/show.html.erb@@ -30,7 +30,8 @@component.with_attribute(key: @group.class.human_attribute_name(:group),value: link_to(@group.group, edit_group_path(@group.group)))- end %>+ end+ %></section><section class="admin--edit-section">diff --git a/modules/meeting/app/components/meetings/delete_dialog_component.html.erb b/modules/meeting/app/components/meetings/delete_dialog_component.html.erbindex 415a7dc9ba3..53409bf55e8 100644--- a/modules/meeting/app/components/meetings/delete_dialog_component.html.erb+++ b/modules/meeting/app/components/meetings/delete_dialog_component.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%=+<%=render(Primer::OpenProject::DangerDialog.new(id:,title:,diff --git a/modules/meeting/app/components/recurring_meetings/delete_dialog_component.html.erb b/modules/meeting/app/components/recurring_meetings/delete_dialog_component.html.erbindex 594868c95f4..f8c54d9a01e 100644--- a/modules/meeting/app/components/recurring_meetings/delete_dialog_component.html.erb+++ b/modules/meeting/app/components/recurring_meetings/delete_dialog_component.html.erb@@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%=+<%=render(Primer::OpenProject::DangerDialog.new(id:,title:,diff --git a/modules/meeting/app/views/meeting_contents/_show.html.erb b/modules/meeting/app/views/meeting_contents/_show.html.erbindex cbba7dcfa2d..fcb6830a684 100644--- a/modules/meeting/app/views/meeting_contents/_show.html.erb+++ b/modules/meeting/app/views/meeting_contents/_show.html.erb@@ -38,7 +38,7 @@ See COPYRIGHT and LICENSE files for more details.data-test-selector="op-meeting--<%= content_type %>"><div><%= toolbar title: t(:"label_#{content_type}") do %>- <%=raw meeting_content_context_menu content, content_type %>+ <%= raw meeting_content_context_menu content, content_type %><% end %></div>diff --git a/modules/meeting/app/views/meeting_contents/diff.html.erb b/modules/meeting/app/views/meeting_contents/diff.html.erbindex 8ed32954cfc..db0aae05d2a 100644--- a/modules/meeting/app/views/meeting_contents/diff.html.erb+++ b/modules/meeting/app/views/meeting_contents/diff.html.erb@@ -48,7 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<em>(<%= link_to_user(@diff.content_to.user) %>, <%= format_time(@diff.content_to.created_at) %>)</em></p>-<hr />+<hr><div class="text-diff"><%= simple_format_without_paragraph @diff.to_html %>diff --git a/modules/meeting/app/views/meeting_contents/history.html.erb b/modules/meeting/app/views/meeting_contents/history.html.erbindex b1e2c4ad786..af80a061b1e 100644--- a/modules/meeting/app/views/meeting_contents/history.html.erb+++ b/modules/meeting/app/views/meeting_contents/history.html.erb@@ -129,7 +129,7 @@ See COPYRIGHT and LICENSE files for more details.</td><td id="test"><%= format_time(content_version.created_at) %></td><td><em><%= User.find content_version.user_id %></em></td>- <td><%=h content_version.notes %></td>+ <td><%= h content_version.notes %></td></tr><% end %></tbody>diff --git a/modules/meeting/app/views/meeting_mailer/icalendar_notification.html.erb b/modules/meeting/app/views/meeting_mailer/icalendar_notification.html.erbindex 4c2129253fb..bcc30100146 100644--- a/modules/meeting/app/views/meeting_mailer/icalendar_notification.html.erb+++ b/modules/meeting/app/views/meeting_mailer/icalendar_notification.html.erb@@ -4,8 +4,8 @@<p><%= t(:text_notificiation_invited) %></p><ul>-<li><%=t :label_meeting_date_time %>: <%= format_time_as_date @meeting.start_time %> <%= format_time @meeting.start_time, include_date: false %>-<%= format_time @meeting.end_time, include_date: false %> (<%= formatted_time_zone_offset %>)</li>-<li><%=Meeting.human_attribute_name(:location) %>: <%= @meeting.location %></li>-<li><%=Meeting.human_attribute_name(:participants_invited) %>: <%= @meeting.participants.invited.sort.join("; ") %></li>-<li><%=Meeting.human_attribute_name(:participants_attended) %>: <%= @meeting.participants.attended.sort.join("; ") %></li>+<li><%= t :label_meeting_date_time %>: <%= format_time_as_date @meeting.start_time %> <%= format_time @meeting.start_time, include_date: false %>-<%= format_time @meeting.end_time, include_date: false %> (<%= formatted_time_zone_offset %>)</li>+<li><%= Meeting.human_attribute_name(:location) %>: <%= @meeting.location %></li>+<li><%= Meeting.human_attribute_name(:participants_invited) %>: <%= @meeting.participants.invited.sort.join("; ") %></li>+<li><%= Meeting.human_attribute_name(:participants_attended) %>: <%= @meeting.participants.attended.sort.join("; ") %></li></ul>diff --git a/modules/meeting/app/views/meetings/_form.html.erb b/modules/meeting/app/views/meetings/_form.html.erbindex 13aa02ca5a5..143cdd25d52 100644--- a/modules/meeting/app/views/meetings/_form.html.erb+++ b/modules/meeting/app/views/meetings/_form.html.erb@@ -85,8 +85,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'form--select-container -wide remote-field--input',data: {'test-selector': 'project_id'- }- %>+ } %></div></div><% end %>@@ -106,8 +105,7 @@ See COPYRIGHT and LICENSE files for more details.<%= f.date_picker :start_date,id: 'meeting-form-start-date',required: true,- no_label: true- %>+ no_label: true %><label for="meeting-form-start-time" class="hidden-for-sighted"><%= Meeting.human_attribute_name(:start_time) %><label lang="en">diff --git a/modules/meeting/app/views/meetings/_participants_section.html.erb b/modules/meeting/app/views/meetings/_participants_section.html.erbindex f0f8b952fce..c0ff4b9cfc1 100644--- a/modules/meeting/app/views/meetings/_participants_section.html.erb+++ b/modules/meeting/app/views/meetings/_participants_section.html.erb@@ -30,7 +30,7 @@ See COPYRIGHT and LICENSE files for more details.<div id="participants-section"><% if @project %><div class="form--field">- <label class="form--label"><%=Meeting.human_attribute_name(:participants) %></label>+ <label class="form--label"><%= Meeting.human_attribute_name(:participants) %></label><div class="form--field-container"><table class="form--matrix"><thead>@@ -44,7 +44,7 @@ See COPYRIGHT and LICENSE files for more details.<% @meeting.all_changeable_participants.sort.each do |user| -%><%= hidden_field_tag "meeting[participants_attributes][][user_id]", user.id %><tr class="form--matrix-row">- <td class="form--matrix-cell"><%=h user %></td>+ <td class="form--matrix-cell"><%= h user %></td><% if @meeting.participants.present? && participant = @meeting.participants.detect{|p| p.user_id == user.id} -%><%= hidden_field_tag "meeting[participants_attributes][][id]", participant.id %><td class="form--matrix-checkbox-cell">diff --git a/modules/meeting/app/views/meetings/history.html.erb b/modules/meeting/app/views/meetings/history.html.erbindex 00154206ea5..3a5a46331b7 100644--- a/modules/meeting/app/views/meetings/history.html.erb+++ b/modules/meeting/app/views/meetings/history.html.erb@@ -5,5 +5,4 @@render(Primer::Alpha::Dialog::Body.new) dorender(Activities::DaysComponent.new(events: @events, current_project: @project, activity_page: @activity_page))end-end-%>+end %>diff --git a/modules/meeting/app/views/meetings/menus/_menu.html.erb b/modules/meeting/app/views/meetings/menus/_menu.html.erbindex c1fc8a53973..c5575c7167b 100644--- a/modules/meeting/app/views/meetings/menus/_menu.html.erb+++ b/modules/meeting/app/views/meetings/menus/_menu.html.erb@@ -1,7 +1,6 @@<% request_params = params.permit(:filters, :sort)- .merge(current_href: request.path)-%>+ .merge(current_href: request.path) %><%= turbo_frame_tag "meeting_sidemenu",src: @project.present? ? menu_project_meetings_path(@project, **request_params) : meetings_menu_path(**request_params),target: '_top',diff --git a/modules/meeting/app/views/meetings/new.html.erb b/modules/meeting/app/views/meetings/new.html.erbindex a60a99bef50..3a390efbaf3 100644--- a/modules/meeting/app/views/meetings/new.html.erb+++ b/modules/meeting/app/views/meetings/new.html.erb@@ -49,7 +49,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= labelled_tabular_form_for @meeting,as: :meeting,url: { controller: '/meetings', action: 'create', project_id: @project },diff --git a/modules/meeting/app/views/meetings/new.turbo_stream.erb b/modules/meeting/app/views/meetings/new.turbo_stream.erbindex e7fb3cdc426..9ed70222259 100644--- a/modules/meeting/app/views/meetings/new.turbo_stream.erb+++ b/modules/meeting/app/views/meetings/new.turbo_stream.erb@@ -27,5 +27,4 @@ See COPYRIGHT and LICENSE files for more details.++#%>-<%= turbo_stream.replace 'participants-section', partial: 'meetings/participants_section' %>diff --git a/modules/meeting/app/views/meetings/show.html.erb b/modules/meeting/app/views/meetings/show.html.erbindex f142534224f..c5130779ee0 100644--- a/modules/meeting/app/views/meetings/show.html.erb+++ b/modules/meeting/app/views/meetings/show.html.erb@@ -52,8 +52,7 @@ See COPYRIGHT and LICENSE files for more details.aria-haspopup="true"title="<%= t(:label_more) %>"class="button"- data-test-selector="meetings-more-dropdown-menu"- >+ data-test-selector="meetings-more-dropdown-menu"><%= op_icon('button--icon icon-show-more') %></a><ul style="display:none;" class="menu-drop-down-container">diff --git a/modules/meeting/app/views/recurring_meetings/new.html.erb b/modules/meeting/app/views/recurring_meetings/new.html.erbindex 7b8c3f889fe..90c2c6701ac 100644--- a/modules/meeting/app/views/recurring_meetings/new.html.erb+++ b/modules/meeting/app/views/recurring_meetings/new.html.erb@@ -39,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<%= primer_form_with(model: @recurring_meeting,url: { :controller => '/recurring_meetings', :action => 'create', :project_id => @project }) do |f| %>diff --git a/modules/openid_connect/app/views/openid_connect/providers/confirm_destroy.html.erb b/modules/openid_connect/app/views/openid_connect/providers/confirm_destroy.html.erbindex 20e95fd78a7..dc39743da18 100644--- a/modules/openid_connect/app/views/openid_connect/providers/confirm_destroy.html.erb+++ b/modules/openid_connect/app/views/openid_connect/providers/confirm_destroy.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.<ul class="mb-3"><li> <%= t('provider.delete_warning.delete_result_1') %><li> <%= t('provider.delete_warning.delete_result_user_count', count: @provider.user_count) %>- <% if Setting.omniauth_direct_login_provider == @provider.slug %>+ <% if Setting.omniauth_direct_login_provider == @provider.slug %><li> <%= t('provider.delete_warning.delete_result_direct') %><% end %></ul>diff --git a/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb b/modules/openid_connect/app/views/openid_connect/providers/edit.html.erbindex bc753198ad4..f697fa0d63a 100644--- a/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb+++ b/modules/openid_connect/app/views/openid_connect/providers/edit.html.erb@@ -43,4 +43,4 @@end%>-<%= %>+<%= %>diff --git a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb b/modules/recaptcha/app/views/recaptcha/request/perform.html.erbindex c9782f8808d..88f02dde13a 100644--- a/modules/recaptcha/app/views/recaptcha/request/perform.html.erb+++ b/modules/recaptcha/app/views/recaptcha/request/perform.html.erb@@ -5,7 +5,7 @@<%= styled_form_tag({ action: :verify }, { :autocomplete => "off", :id => 'submit_captcha' }) do %><% if [OpenProject::Recaptcha::TYPE_V2, OpenProject::Recaptcha::TYPE_HCAPTCHA].include?(recaptcha_settings['recaptcha_type']) %><% input_name = "g-recaptcha-response" %>- <input type="hidden" name="<%= input_name %>" />+ <input type="hidden" name="<%= input_name %>"><%= recaptcha_tags(nonce: content_security_policy_script_nonce,callback: 'submitRecaptchaForm',@@ -43,7 +43,7 @@<% end %><% elsif recaptcha_settings['recaptcha_type'] == ::OpenProject::Recaptcha::TYPE_TURNSTILE %><% input_name = "turnstile-response" %>- <input type="hidden" name="<%= input_name %>" />+ <input type="hidden" name="<%= input_name %>"><%= nonced_javascript_include_tag "https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback" %><div id="turnstile-container"></div>diff --git a/modules/reporting/app/views/cost_reports/index.html.erb b/modules/reporting/app/views/cost_reports/index.html.erbindex 408a12466d9..2c7d3f58332 100644--- a/modules/reporting/app/views/cost_reports/index.html.erb+++ b/modules/reporting/app/views/cost_reports/index.html.erb@@ -45,7 +45,7 @@ See COPYRIGHT and LICENSE files for more details.<p class="footnote"><%= t(:text_costs_are_rounded_note) %><% unless User.current.admin? %>- <br/>+ <br><%= t(:information_restricted_depending_on_permission) %><% end %></p>diff --git a/modules/storages/app/views/storages/admin/storages/_new.html.erb b/modules/storages/app/views/storages/admin/storages/_new.html.erbindex 3c315c263f2..db33c407100 100644--- a/modules/storages/app/views/storages/admin/storages/_new.html.erb+++ b/modules/storages/app/views/storages/admin/storages/_new.html.erb@@ -30,8 +30,7 @@ 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-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 %>@@ -48,8 +47,7 @@ See COPYRIGHT and LICENSE files for more details.},data: {'storages--storage-form-target': 'selectProviderType'- }- %>+ } %><span class="form--field-instructions"><%= t('storages.instructions.type') %> <%= t('storages.instructions.type_link_text') %></span></div><div class="form--field -required">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.erbindex 3811901d3d2..86e77c8608d 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@@ -32,8 +32,7 @@ See COPYRIGHT and LICENSE files for more details.'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-last-project-folders-value': @last_project_folders %><div class="form--field -required"><%= f.label :storage_id, class: "form--label -bold" do %>@@ -58,7 +57,6 @@ See COPYRIGHT and LICENSE files for more details.</div></div>-<%= f.hidden_field :project_folder_id,data: {'project-storage-form-target': "projectFolderIdInput"@@ -72,8 +70,7 @@ See COPYRIGHT and LICENSE files for more details.inputs: {title: t(:"storages.label_project_folder"),content: t(:"storages.help_texts.project_folder"),- }- %>+ } %><% end %><% if @project_storage.project_folder_mode_possible?('inactive') %><div class="form--field-container">@@ -105,7 +102,7 @@ See COPYRIGHT and LICENSE files for more details.</span><% end %>- <% if @project_storage.project_folder_mode_possible?('manual') %>+ <% if @project_storage.project_folder_mode_possible?('manual') %><div class="form--field-container"><%= f.label :project_folder_mode, value: 'manual', class: "form--label-with-radio-button" do %><%= f.radio_button :project_folder_mode,@@ -122,8 +119,7 @@ See COPYRIGHT and LICENSE files for more details.<divclass="form--field-container -with-children-spacing d-none"- data-project-storage-form-target="projectFolderSection"- >+ data-project-storage-form-target="projectFolderSection"><%= styled_button_tag class: 'button_no-margin',data: {'project-storage-form-target': "selectProjectFolderButton",@@ -139,11 +135,9 @@ See COPYRIGHT and LICENSE files for more details.},data: {'project-storage-form-target': "loginButton"- }- %>+ } %><span- data-project-storage-form-target="selectedFolderText"- >...</span>+ data-project-storage-form-target="selectedFolderText">...</span></div><% if @errors&.any? { |error| error.attribute == :project_folder_id } %><%= content_tag :span,diff --git a/modules/storages/app/views/storages/project_settings/_storage_select_form.html.erb b/modules/storages/app/views/storages/project_settings/_storage_select_form.html.erbindex 08d265290ba..170aa20f99f 100644--- a/modules/storages/app/views/storages/project_settings/_storage_select_form.html.erb+++ b/modules/storages/app/views/storages/project_settings/_storage_select_form.html.erb@@ -32,8 +32,7 @@ See COPYRIGHT and LICENSE files for more details.@available_storages.map { |storage| ["#{storage.name} (#{storage})", storage.id] },class: '-bold',selected: @available_storages.first.id.to_s,- container_class: '-slim'- %>+ container_class: '-slim' %><% if User.current.admin? %><span class="form--field-instructions"><%= t(:"storages.instructions.setting_up_additional_storages") %>diff --git a/modules/storages/app/views/storages/project_settings/attachments.html.erb b/modules/storages/app/views/storages/project_settings/attachments.html.erbindex fa590101bf8..bb8d05c05f6 100644--- a/modules/storages/app/views/storages/project_settings/attachments.html.erb+++ b/modules/storages/app/views/storages/project_settings/attachments.html.erb@@ -53,8 +53,7 @@ See COPYRIGHT and LICENSE files for more details.tab.with_text { t(:"attributes.attachments") }endend-end-%>+end %><%=render(Primer::OpenProject::FlexLayout.new(p: 3)) do |container|diff --git a/modules/storages/app/views/storages/project_settings/destroy_info.html.erb b/modules/storages/app/views/storages/project_settings/destroy_info.html.erbindex fa90d482af4..07599d53563 100644--- a/modules/storages/app/views/storages/project_settings/destroy_info.html.erb+++ b/modules/storages/app/views/storages/project_settings/destroy_info.html.erb@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.</ul><p class="danger-zone--warning"><span class="icon icon-error"></span>- <span><%= t('storages.delete_warning.irreversible_notice')%></span>+ <span><%= t('storages.delete_warning.irreversible_notice') %></span></p><p><%= t('storages.delete_warning.input_delete_confirmation', file_storage: "<em class=\"danger-zone--expected-value\">#{h(@project_storage_to_destroy.storage.name)}</em>").html_safe %>diff --git a/modules/storages/app/views/storages/project_settings/edit.html.erb b/modules/storages/app/views/storages/project_settings/edit.html.erbindex 334ebd2e376..b30f286f5ce 100644--- a/modules/storages/app/views/storages/project_settings/edit.html.erb+++ b/modules/storages/app/views/storages/project_settings/edit.html.erb@@ -44,7 +44,6 @@ See COPYRIGHT and LICENSE files for more details.<%= labelled_tabular_form_for @project_storage, url: project_settings_project_storage_path(project_id: @project_storage.project, id: @project_storage) do |f| -%><section class="form--section"><%= render partial: '/storages/project_settings/project_folder_form',- locals: { f: f, available_storages: @available_storages, submit_button_label: t('button_save') }- %>+ locals: { f: f, available_storages: @available_storages, submit_button_label: t('button_save') } %></section><% end %>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.erbindex 6d00cc18724..69db0bff644 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@@ -53,7 +53,6 @@ See COPYRIGHT and LICENSE files for more details.tab.with_text { t(:"attributes.attachments") }endend-end-%>+end %><%= render(::Storages::ProjectStorages::TableComponent.new(rows: @project_storages)) %>diff --git a/modules/storages/app/views/storages/project_settings/new.html.erb b/modules/storages/app/views/storages/project_settings/new.html.erbindex 9bbf6f04f60..e8fb7482d34 100644--- a/modules/storages/app/views/storages/project_settings/new.html.erb+++ b/modules/storages/app/views/storages/project_settings/new.html.erb@@ -39,7 +39,6 @@ See COPYRIGHT and LICENSE files for more details.end%>-<section class="form--section"><% if @available_storages.any? %><% if @project_storage.storage.blank? %>@@ -47,14 +46,12 @@ See COPYRIGHT and LICENSE files for more details.url: new_project_settings_project_storage_path,html: { method: :get } do |f| -%><%= render partial: '/storages/project_settings/storage_select_form',- locals: { f: f, available_storages: @available_storages, submit_button_label: t('button_continue') }- %>+ locals: { f: f, available_storages: @available_storages, submit_button_label: t('button_continue') } %><% end %><% else %><%= labelled_tabular_form_for @project_storage, url: project_settings_project_storages_path do |f| -%><%= render partial: '/storages/project_settings/project_folder_form',- locals: { f: f, submit_button_label: t('button_add') }- %>+ locals: { f: f, submit_button_label: t('button_add') } %><% end %><% end %><% else %>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.erbindex 044cd8f3c3f..a8f30f5bdb0 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@@ -53,8 +53,7 @@ See COPYRIGHT and LICENSE files for more details.class: 'form--select-container -wide remote-field--input',data: {'test-selector': 'project_id'- }- %>+ } %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.project',@@ -69,8 +68,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field-container"><%= styled_check_box_tag 'query[public]','1',- @view.public- %>+ @view.public %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.public' %></p>@@ -83,8 +81,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="form--field-container"><%= styled_check_box_tag 'query[starred]','1',- @view.starred- %>+ @view.starred %></div><div class="form--field-instructions"><p><%= t 'help_texts.views.favoured' %></p>diff --git a/modules/team_planner/app/views/team_planner/team_planner/show.html.erb b/modules/team_planner/app/views/team_planner/team_planner/show.html.erbindex 309d396f8f8..43b8883cd50 100644--- a/modules/team_planner/app/views/team_planner/team_planner/show.html.erb+++ b/modules/team_planner/app/views/team_planner/team_planner/show.html.erb@@ -1 +1 @@-<% html_title(t('team_planner.label_team_planner')) -%>\ No newline at end of file+<% html_title(t('team_planner.label_team_planner')) -%>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erbindex 7398bbbeb4f..db45754171c 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/enter_backup_code.html.erb@@ -8,11 +8,11 @@<div class="form--field -required -wide-label"><%= styled_label_tag 'backup_code', t('two_factor_authentication.backup_codes.singular') %><div class="form--field-container">- <%= styled_text_field_tag 'backup_code', nil, required: true, autocomplete: 'off', size: 20, maxlength: 20, tabindex: 1, autofocus: true %>+ <%= styled_text_field_tag 'backup_code', nil, required: true, autocomplete: 'off', size: 20, maxlength: 20, tabindex: 1, autofocus: true %></div></div><div class="login-form--footer">- <input type="submit" name="login" value="<%=t(:button_submit)%>" class="button -primary button_no-margin" tabindex="2" />+ <input type="submit" name="login" value="<%= t(:button_submit) %>" class="button -primary button_no-margin" tabindex="2"></div><% end %></div>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erbindex 71ae5492e4e..e929a8d2e66 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb@@ -6,8 +6,7 @@<div id="login-form"class="form -bordered"data-controller="two-factor-authentication"- data-application-target="dynamic"->+ data-application-target="dynamic"><%= styled_form_tag({ action: :confirm_otp },id: 'submit_otp',@@ -44,7 +43,7 @@</div><% end %><div class="login-form--footer">- <input type="submit" name="login" value="<%= t(:button_login) %>" class="button -primary button_no-margin" tabindex="2"/>+ <input type="submit" name="login" value="<%= t(:button_login) %>" class="button -primary button_no-margin" tabindex="2"><% if resend_supported || has_other_devices || has_backup_codes %><div class="login-options-container"><div class="login-links">@@ -65,12 +64,11 @@<divid="resend_otp_container"data-two-factor-authentication-target="resendOptions"- hidden- >+ hidden><% if resend_supported %><%= styled_form_tag({ action: :retry }, autocomplete: 'off', id: 'resend_otp') do %><%= hidden_field_tag 'use_device', @service.device.id %>- <hr/>+ <hr><div class="resend-header"><%= t(:text_send_otp_again) %></div><% default_channel = @service.device.channel %>@@ -81,11 +79,11 @@<label for="channel_<%= channel %>"><%= t("button_otp_by_#{channel}") %></label></div><% end %>- <input type="submit" value="<%= t(:button_resend_otp_form) %>" id="submit_resend_form" class="button -primary"/>+ <input type="submit" value="<%= t(:button_resend_otp_form) %>" id="submit_resend_form" class="button -primary"><% end %><% end %><% if has_other_devices %>- <hr/>+ <hr><div class="resend-header"><%= t('two_factor_authentication.login.other_device') %></div><ul><% @active_devices.each do |device| %>@@ -100,7 +98,7 @@</ul><% end %><% if has_backup_codes %>- <hr/>+ <hr><div class="resend-header"><%= t('two_factor_authentication.login.enter_backup_code_title') %></div><ul><li>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/my/backup_codes/show.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/my/backup_codes/show.html.erbindex aa8b86c6c71..b17b9f5fb82 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/my/backup_codes/show.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/my/backup_codes/show.html.erb@@ -26,12 +26,11 @@</ul></div>-<hr class="hide-when-print"/>+<hr class="hide-when-print"><divdata-controller="two-factor-authentication"- data-application-target="dynamic"->+ data-application-target="dynamic"><%= content_tag :a,id: 'download_2fa_backup_codes',class: "button hide-when-print",@@ -43,8 +42,7 @@<buttonid="print_2fa_backup_codes"class="button hide-when-print"- data-action="two-factor-authentication#print"- >+ data-action="two-factor-authentication#print"><%= op_icon 'button--icon icon-print' %><span class="button--text"><%= t(:button_print) %></span></button>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/_two_factor_status.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/_two_factor_status.html.erbindex 2f02d4b01c4..b6ea5720f77 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/_two_factor_status.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/_two_factor_status.html.erb@@ -4,4 +4,4 @@on_description: t('two_factor_authentication.text_2fa_enabled'),off_text: t('two_factor_authentication.label_2fa_disabled'),off_description: t('two_factor_authentication.text_2fa_disabled')- })%>+ }) %>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/index.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/index.html.erbindex 0a4b97af037..d38492625b6 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/index.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/my/two_factor_devices/index.html.erb@@ -44,12 +44,12 @@ end %><% else %><%= t 'two_factor_authentication.remember.other_active_session_notice' %><% end %>- <br/>+ <br><strong><%= link_to t('two_factor_authentication.remember.clear_cookie'),my_2fa_remember_cookie_path,class: 'two-factor-authentication--remove-remember-cookie-link',- method: :delete %>+ method: :delete %></strong></p></div>@@ -58,7 +58,7 @@ end %><% end %><section class="account--section">- <%= render partial: 'two_factor_status', locals: { device: @default_device }%>+ <%= render partial: 'two_factor_status', locals: { device: @default_device } %></section><section class="account--section">@@ -70,7 +70,7 @@ end %><h2><%= t 'two_factor_authentication.backup_codes.plural' %></h2><p><%= t 'two_factor_authentication.backup_codes.overview_description' %>- <br/>+ <br><strong><%= t 'two_factor_authentication.backup_codes.generate.regenerate_warning' %></strong></p>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erbindex bc046256f2c..1e7f6eee66a 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb@@ -9,7 +9,6 @@end%>-<section class="admin--edit-section"><%= styled_form_tag({ action: :update },method: :post,@@ -18,7 +17,7 @@<legend class="form--fieldset-legend"><%= t('two_factor_authentication.settings.current_configuration') %></legend><p><%= t('two_factor_authentication.settings.text_configuration') %>- <br/>+ <br><% configuration_link = OpenProject::Static::Links.links.fetch :configuration_guide %><%= link_to t('two_factor_authentication.settings.text_configuration_guide'),configuration_link[:href],diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/_form.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/_form.html.erbindex d35584192a0..4ba3b26beb4 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/_form.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/_form.html.erb@@ -1,3 +1,3 @@<%= error_messages_for 'device' %>-<%= render partial: "two_factor_authentication/two_factor_devices/#{device_type}/form", locals: { f: f, device: device, user: user } %>\ No newline at end of file+<%= render partial: "two_factor_authentication/two_factor_devices/#{device_type}/form", locals: { f: f, device: device, user: user } %>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erbindex 602e691a9e7..f02dd007086 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb@@ -10,10 +10,10 @@<div class="form--field -required -wide-label"><%= styled_label_tag 'otp', t(:field_otp) %><div class="form--field-container">- <%= styled_text_field_tag 'otp', nil, required: true, autocomplete: 'off', size: 6, maxlength: 6, tabindex: 1, autofocus: true %>+ <%= styled_text_field_tag 'otp', nil, required: true, autocomplete: 'off', size: 6, maxlength: 6, tabindex: 1, autofocus: true %></div></div><div class="login-form--footer">- <input type="submit" name="login" value="<%= t 'button_continue' %>" class="button -primary button_no-margin" tabindex="2" />+ <input type="submit" name="login" value="<%= t 'button_continue' %>" class="button -primary button_no-margin" tabindex="2"></div><% end %>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/sms/_form.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/sms/_form.html.erbindex edfa5a82345..ccad672205b 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/sms/_form.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/sms/_form.html.erb@@ -1,5 +1,5 @@<fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend>+ <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend><p><%= t('two_factor_authentication.devices.sms.description') %></p>@@ -22,7 +22,7 @@<% available_channels = @device.class.available_channels_in_strategy %><% if available_channels.length > 1 %><fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%=t(:label_otp_channel)%>"><%= t(:label_otp_channel) %></legend>+ <legend class="form--fieldset-legend" title="<%= t(:label_otp_channel) %>"><%= t(:label_otp_channel) %></legend><% available_channels.each do |channel| %><div class="form--field">diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/totp/_form.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/totp/_form.html.erbindex 3553ef4f46f..2156fad0471 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/totp/_form.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/totp/_form.html.erb@@ -1,5 +1,5 @@<fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend>+ <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend><p><%= t('two_factor_authentication.devices.totp.description') %></p>@@ -15,17 +15,15 @@<div class="mobile-otp-qr-form"data-controller="two-factor-authentication"- data-application-target="dynamic"->+ data-application-target="dynamic"><div class="qr-code-element"data-value="<%= device.provisioning_url %>"- data-two-factor-authentication-target="qrCodeElement"- >+ data-two-factor-authentication-target="qrCodeElement"></div><div class="mobile-otp-qr-manually"><p><strong><%= t('two_factor_authentication.devices.totp.question_cannot_scan') %></strong>- <br/>+ <br><%= t('two_factor_authentication.devices.totp.text_cannot_scan') %></p><%= render(AttributeGroups::AttributeGroupComponent.new) do |component|diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/webauthn/_form.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/webauthn/_form.html.erbindex 12d56b531cb..17ed4b97169 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/webauthn/_form.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/webauthn/_form.html.erb@@ -1,5 +1,5 @@<fieldset class="form--fieldset">- <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend>+ <legend class="form--fieldset-legend" title="<%= @device.name %>"><%= @device.name %></legend><p><%= t('two_factor_authentication.devices.webauthn.description') %></p><div class="form--field -required"><%= f.text_field :identifier, required: true, container_class: '-middle' %>diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erbindex e2c589b7677..60612f9d1a2 100644--- a/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/upsale.html.erb@@ -7,4 +7,3 @@feature_reference: '2fa',feature_image: 'enterprise/two-factor-authentication.jpg'} %>-diff --git a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erbindex de14ab84c7b..18883933d49 100644--- a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb+++ b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_admin.html.erb@@ -8,7 +8,7 @@on_description: t('two_factor_authentication.admin.text_2fa_enabled'),off_text: t('two_factor_authentication.label_2fa_disabled'),off_description: t('two_factor_authentication.admin.text_2fa_disabled')- })%>+ }) %></section><section class="admin--edit-section">diff --git a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_self.html.erb b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_self.html.erbindex 60041786d1e..0c5cdd9fd43 100644--- a/modules/two_factor_authentication/app/views/users/_two_factor_authentication_self.html.erb+++ b/modules/two_factor_authentication/app/views/users/_two_factor_authentication_self.html.erb@@ -1,7 +1,7 @@<% default_device = @user.otp_devices.get_default %><section class="admin--edit-section">- <%= render partial: 'two_factor_authentication/my/two_factor_devices/two_factor_status', locals: { device: default_device }%>+ <%= render partial: 'two_factor_authentication/my/two_factor_devices/two_factor_status', locals: { device: default_device } %></section><section class="admin--edit-section">diff --git a/modules/webhooks/app/components/webhooks/outgoing/deliveries/response_component.html.erb b/modules/webhooks/app/components/webhooks/outgoing/deliveries/response_component.html.erbindex c66f63de748..c8d5b27de52 100644--- a/modules/webhooks/app/components/webhooks/outgoing/deliveries/response_component.html.erb+++ b/modules/webhooks/app/components/webhooks/outgoing/deliveries/response_component.html.erb@@ -1,8 +1,7 @@<sectiondata-augmented-model-wrapperdata-activation-selector=".log-response-<%= id %>-modal--activation-link"- data-modal-class-name="webhooks--response-body-modal"->+ data-modal-class-name="webhooks--response-body-modal"><a class="log-response-<%= id %>-modal--activation-link" title="<%= title %>"><%= helpers.op_icon('icon-info1') %><%= t(:button_show) %>@@ -14,7 +13,7 @@<div class="spot-divider"></div><div class="spot-modal--body spot-container"><h2 class="spot-subheader-extra-small">Headers</h2>- <pre class="webhooks--response-headers"><%- response_headers.each do |k, v| -%><strong><%=h k -%></strong>: <span><%=h v -%></span><br/><%- end -%></pre>+ <pre class="webhooks--response-headers"><%- response_headers.each do |k, v| -%><strong><%= h k -%></strong>: <span><%= h v -%></span><br><%- end -%></pre><div class="spot-divider"></div><h2 class="spot-subheader-extra-small">Response body</h2><pre class="webhooks--response-body"><%= response_body %></pre>@@ -24,8 +23,7 @@<buttonclass="button button_no-margin spot-action-bar--action spot-modal--cancel-button"title="<%= t(:button_close) %>"- dynamic-content-modal-close-button- >+ dynamic-content-modal-close-button><%= t(:button_close) %></button></div>diff --git a/modules/webhooks/app/views/webhooks/outgoing/admin/_form.html.erb b/modules/webhooks/app/views/webhooks/outgoing/admin/_form.html.erbindex d24260342e0..c40fd9b7d04 100644--- a/modules/webhooks/app/views/webhooks/outgoing/admin/_form.html.erb+++ b/modules/webhooks/app/views/webhooks/outgoing/admin/_form.html.erb@@ -1,7 +1,7 @@<fieldset class="form--fieldset"><p><%= t 'webhooks.outgoing.form.introduction' %>- <br/>+ <br><%= link_to t('webhooks.outgoing.form.apiv3_doc_url'), OpenProject::Static::Links.links[:api_docs][:href] %></p>@@ -43,7 +43,7 @@</div><% event_names = @webhook.event_names %>- <% OpenProject::Webhooks::EventResources.available_events_map.each do |resource_label, events| %>+ <% OpenProject::Webhooks::EventResources.available_events_map.each do |resource_label, events| %><div class="form--field"><label class="form--label"><%= resource_label %></label><div class="form--field-container -vertical">@@ -109,5 +109,3 @@});}(jQuery));<% end %>--