From 3815e5e78dfb1f0719b3c95e5525c3002c1e8995 Mon Sep 17 00:00:00 2001 From: Andrej Date: Fri, 25 Oct 2024 11:36:27 +0200 Subject: [PATCH] Add select/deselect button for repository column selection on report wizard [SCI-11219] --- app/views/reports/wizard/_third_step.html.erb | 1 + config/locales/en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/reports/wizard/_third_step.html.erb b/app/views/reports/wizard/_third_step.html.erb index 9d66ed661..a1f8216f7 100644 --- a/app/views/reports/wizard/_third_step.html.erb +++ b/app/views/reports/wizard/_third_step.html.erb @@ -98,6 +98,7 @@ data-placeholder="<%= t("projects.reports.wizard.third_step.repository_column.placeholder") %>" data-select-multiple-all-selected="<%= t("projects.reports.wizard.third_step.repository_column.all_selected") %>" data-select-multiple-name="<%= t("projects.reports.wizard.third_step.repository_column.selected") %>" + data-select-all-button="<%= t("projects.reports.wizard.third_step.repository_column.select_deselect_all") %>" multiple > <% Report.default_repository_columns.each do |key, value| %> diff --git a/config/locales/en.yml b/config/locales/en.yml index d8a9904cf..880b00f85 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -872,6 +872,7 @@ en: archived: "[archived]" deleted: "[deleted]" repository_column: + select_deselect_all: 'Select/deselect all' placeholder: 'Select columns' all_selected: 'All columns selected' selected: 'columns selected'