{"en_US": "<t name=\"Question: choice result (simple_choice, multiple_choice)\" t-name=\"survey.question_result_choice\">\n        <ul class=\"nav nav-tabs d-print-none\" role=\"tablist\">\n            <li t-if=\"question_answered\" class=\"nav-item\">\n                <a t-att-href=\"'#survey_graph_question_%d' % question.id\" t-att-aria-controls=\"'survey_graph_question_%d' % question.id\" class=\"nav-link active\" data-bs-toggle=\"tab\" role=\"tab\">\n                    <i class=\"fa fa-bar-chart-o\"/>\n                    <span t-if=\"question.question_type == 'simple_choice'\">Pie Graph</span>\n                    <span t-else=\"\">Graph</span>\n                </a>\n            </li>\n            <li class=\"nav-item\">\n                <a t-att-href=\"'#survey_data_question_%d' % question.id\" t-att-aria-controls=\"'survey_data_question_%d' % question.id\" t-attf-class=\"nav-link #{'active' if not question_answered else ''}\" data-bs-toggle=\"tab\" role=\"tab\">\n                    <i class=\"fa fa-list-alt me-1\"/>Data\n                </a>\n            </li>\n        </ul>\n        <div class=\"tab-content\">\n            <div t-if=\"question_answered\" role=\"tabpanel\" class=\"tab-pane active survey_graph\" t-att-id=\"'survey_graph_question_%d' % question.id\" t-att-data-question-id=\"question.id\" t-att-data-graph-type=\"'pie' if question.question_type == 'simple_choice' else 'bar'\" t-att-data-graph-data=\"graph_data\" t-att-data-right-answers=\"list(question_data['right_answers'].mapped('value'))\">\n                <!-- canvas element for drawing bar chart -->\n                <canvas/>\n            </div>\n            <div role=\"tabpanel\" t-att-id=\"'survey_data_question_%d' % question.id\" t-attf-class=\"tab-pane #{'active' if not question_answered else ''}\">\n                <table class=\"table table-hover\">\n                    <thead>\n                        <tr>\n                            <th>Answer</th>\n                            <th>User Choice</th>\n                            <th t-if=\"question.is_scored_question\">Score</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"table_data\" t-as=\"choice_data\">\n                            <td>\n                                <p>\n                                    <span t-if=\"question.question_type == 'numerical_box'\" t-call=\"survey.survey_remove_unnecessary_decimals\">\n                                        <t t-set=\"value_to_format\" t-value=\"choice_data['value']\"/>\n                                    </span>\n                                    <span t-else=\"\" t-esc=\"choice_data['value']\"/>\n                                    <i t-if=\"question.is_scored_question and choice_data['suggested_answer'].is_correct\" class=\"fa fa-check\"/>\n                                </p>\n                            </td>\n                            <td class=\"o_survey_answer\">\n                                <span t-esc=\"round(choice_data['count'] * 100.0/ (len(question_data['answer_line_done_ids']) or 1), 2)\"/> %\n                                <span t-out=\"choice_data['count_text']\" class=\"badge text-bg-primary\"/>\n                                <i t-if=\"choice_data['suggested_answer'].id and choice_data['count']\" class=\"fa fa-filter text-primary filter-add-answer\" t-att-data-question-id=\"question.id\" t-att-data-answer-id=\"choice_data['suggested_answer'].id\" role=\"img\" aria-label=\"Filter surveys\" title=\"Only show survey results having selected this answer\"/>\n                            </td>\n                            <td t-if=\"question.is_scored_question\" t-call=\"survey.survey_remove_unnecessary_decimals\">\n                                <t t-set=\"value_to_format\" t-value=\"choice_data['suggested_answer'].answer_score\"/>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        </div>\n        <div t-if=\"comment_lines\" t-call=\"survey.question_result_comments\"/>\n    </t>", "vi_VN": "<t name=\"Question: choice result (simple_choice, multiple_choice)\" t-name=\"survey.question_result_choice\">\n        <ul class=\"nav nav-tabs d-print-none\" role=\"tablist\">\n            <li t-if=\"question_answered\" class=\"nav-item\">\n                <a t-att-href=\"'#survey_graph_question_%d' % question.id\" t-att-aria-controls=\"'survey_graph_question_%d' % question.id\" class=\"nav-link active\" data-bs-toggle=\"tab\" role=\"tab\">\n                    <i class=\"fa fa-bar-chart-o\"/>\n                    <span t-if=\"question.question_type == 'simple_choice'\">Pie Graph</span>\n                    <span t-else=\"\">Đồ thị</span>\n                </a>\n            </li>\n            <li class=\"nav-item\">\n                <a t-att-href=\"'#survey_data_question_%d' % question.id\" t-att-aria-controls=\"'survey_data_question_%d' % question.id\" t-attf-class=\"nav-link #{'active' if not question_answered else ''}\" data-bs-toggle=\"tab\" role=\"tab\">\n                    <i class=\"fa fa-list-alt me-1\"/>Dữ liệu\n                </a>\n            </li>\n        </ul>\n        <div class=\"tab-content\">\n            <div t-if=\"question_answered\" role=\"tabpanel\" class=\"tab-pane active survey_graph\" t-att-id=\"'survey_graph_question_%d' % question.id\" t-att-data-question-id=\"question.id\" t-att-data-graph-type=\"'pie' if question.question_type == 'simple_choice' else 'bar'\" t-att-data-graph-data=\"graph_data\" t-att-data-right-answers=\"list(question_data['right_answers'].mapped('value'))\">\n                <!-- canvas element for drawing bar chart -->\n                <canvas/>\n            </div>\n            <div role=\"tabpanel\" t-att-id=\"'survey_data_question_%d' % question.id\" t-attf-class=\"tab-pane #{'active' if not question_answered else ''}\">\n                <table class=\"table table-hover\">\n                    <thead>\n                        <tr>\n                            <th>Trả lời</th>\n                            <th>User Choice</th>\n                            <th t-if=\"question.is_scored_question\">Điểm</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"table_data\" t-as=\"choice_data\">\n                            <td>\n                                <p>\n                                    <span t-if=\"question.question_type == 'numerical_box'\" t-call=\"survey.survey_remove_unnecessary_decimals\">\n                                        <t t-set=\"value_to_format\" t-value=\"choice_data['value']\"/>\n                                    </span>\n                                    <span t-else=\"\" t-esc=\"choice_data['value']\"/>\n                                    <i t-if=\"question.is_scored_question and choice_data['suggested_answer'].is_correct\" class=\"fa fa-check\"/>\n                                </p>\n                            </td>\n                            <td class=\"o_survey_answer\">\n                                <span t-esc=\"round(choice_data['count'] * 100.0/ (len(question_data['answer_line_done_ids']) or 1), 2)\"/> %\n                                <span t-out=\"choice_data['count_text']\" class=\"badge text-bg-primary\"/>\n                                <i t-if=\"choice_data['suggested_answer'].id and choice_data['count']\" class=\"fa fa-filter text-primary filter-add-answer\" t-att-data-question-id=\"question.id\" t-att-data-answer-id=\"choice_data['suggested_answer'].id\" role=\"img\" aria-label=\"Lọc khảo sát\" title=\"Chỉ hiển thị kết quả khảo sát khi chọn câu trả lời này\"/>\n                            </td>\n                            <td t-if=\"question.is_scored_question\" t-call=\"survey.survey_remove_unnecessary_decimals\">\n                                <t t-set=\"value_to_format\" t-value=\"choice_data['suggested_answer'].answer_score\"/>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        </div>\n        <div t-if=\"comment_lines\" t-call=\"survey.question_result_comments\"/>\n    </t>"}