diff --git a/addons/survey/i18n/survey.pot b/addons/survey/i18n/survey.pot index 6349db5ddae..985cefe3e32 100644 --- a/addons/survey/i18n/survey.pot +++ b/addons/survey/i18n/survey.pot @@ -390,6 +390,27 @@ msgid "" "" msgstr "" +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.question_result_number_or_date_or_datetime +msgid "" +"Avg " +"" +msgstr "" + +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.question_result_number_or_date_or_datetime +msgid "" +"Max " +"" +msgstr "" + +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.question_result_number_or_date_or_datetime +msgid "" +"Min " +"" +msgstr "" + #. module: survey #: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_question msgid "Responded" @@ -504,11 +525,31 @@ msgstr "" msgid "Registered" msgstr "" +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_question +msgid "Responded" +msgstr "" + +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_question +msgid "Skipped" +msgstr "" + #. module: survey #: model_terms:ir.ui.view,arch_db:survey.survey_survey_view_kanban msgid "Success" msgstr "" +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_question +msgid "Correct" +msgstr "" + +#. module: survey +#: model_terms:ir.ui.view,arch_db:survey.survey_page_statistics_question +msgid "Partial" +msgstr "" + #. module: survey #: model_terms:ir.ui.view,arch_db:survey.survey_question_form msgid "Points" diff --git a/addons/survey/static/src/scss/survey_templates_results.scss b/addons/survey/static/src/scss/survey_templates_results.scss index eca02be84eb..f3c225149d9 100644 --- a/addons/survey/static/src/scss/survey_templates_results.scss +++ b/addons/survey/static/src/scss/survey_templates_results.scss @@ -23,6 +23,9 @@ border: none !important; } .o_survey_result { + // force to print background-images to render the leaderboard bar + -webkit-print-color-adjust: exact !important; /* Chrome, Safari */ + print-color-adjust: exact !important; /*Firefox*/ canvas { margin-bottom: 2rem; } @@ -38,6 +41,9 @@ .o_survey_results_question_wrapper:has(button.collapsed) { display: none; } + .o_survey_results_question_wrapper:has(div.collapsed) { + display: none !important; + } .o_survey_user_responses_table_wrapper { height: auto !important; } @@ -112,6 +118,14 @@ } .o_survey_results_question { + .o_survey_results_question_header { + div[aria-expanded="true"] i.fa-caret-right { + display: none; + } + div[aria-expanded="false"] i.fa-caret-down { + display: none; + } + } .o_survey_results_question_pill { .only_right_radius { border-radius: 0 2em 2em 0; @@ -136,6 +150,9 @@ cursor:default; } } + .collapse:not(.show) { + display: none !important; + } .nav-tabs .nav-link.active { background-color: transparent; border-color: #DEE2E6; diff --git a/addons/survey/views/survey_templates_statistics.xml b/addons/survey/views/survey_templates_statistics.xml index b394d14664a..36e2aaadad7 100644 --- a/addons/survey/views/survey_templates_statistics.xml +++ b/addons/survey/views/survey_templates_statistics.xml @@ -5,7 +5,7 @@ -
+
@@ -14,20 +14,20 @@ @@ -98,43 +98,44 @@ -
-
-
-