{"en_US": "<t name=\"Question: matrix result (matrix)\" t-name=\"survey.question_result_matrix\">\n        <t t-set=\"graph_data\" t-value=\"question_data['graph_data']\"/>\n        <t t-set=\"table_data\" t-value=\"question_data['table_data']\"/>\n        <ul class=\"nav nav-tabs d-print-none\" role=\"tablist\">\n            <li t-if=\"question_answered\" class=\"nav-item active\">\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 me-1\"/>Graph\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 with-3d-shadow with-transitions survey_graph\" t-att-id=\"'survey_graph_question_%d' % question.id\" t-att-data-question-id=\"question.id\" data-graph-type=\"multi_bar\" t-att-data-graph-data=\"graph_data\">\n                <!-- canvas element for drawing Multibar chart -->\n                <canvas/>\n            </div>\n            <div role=\"tabpanel\" t-attf-class=\"tab-pane #{'active' if not question_answered else ''}\" t-att-id=\"'survey_data_question_%d' % question.id\">\n                <table class=\"table table-hover table-sm text-end\">\n                    <thead t-if=\"table_data\">\n                        <tr>\n                            <th/>\n                            <th class=\"text-end\" t-foreach=\"table_data[0]['columns']\" t-as=\"column_data\">\n                                <span t-esc=\"column_data['suggested_answer'].value\"/>\n                            </th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"table_data\" t-as=\"choice_data\">\n                            <td>\n                                <span t-esc=\"choice_data['row'].value\"/>\n                            </td>\n                            <td class=\"o_survey_answer\" t-foreach=\"choice_data['columns']\" t-as=\"column_data\">\n                                <span t-esc=\"round(column_data['count'] * 100.0/ (len(question_data['answer_input_done_ids']) or 1), 2)\"/> %\n                                <span class=\"badge text-bg-primary\" t-esc=\"column_data['count']\"/>\n                                <i t-if=\"column_data['count']\" class=\"fa fa-filter text-primary filter-add-answer\" t-att-data-question-id=\"question.id\" t-att-data-row-id=\"choice_data['row'].id\" t-att-data-answer-id=\"column_data['suggested_answer'].id\" role=\"img\" aria-label=\"Filter surveys\" title=\"Only show survey results having selected this answer\"/>\n                                <i t-else=\"\" class=\"o_survey_answer_matrix_whitespace\"/>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        <div t-if=\"comment_lines\" t-call=\"survey.question_result_comments\"/>\n        </div>\n    </t>", "vi_VN": "<t name=\"Question: matrix result (matrix)\" t-name=\"survey.question_result_matrix\">\n        <t t-set=\"graph_data\" t-value=\"question_data['graph_data']\"/>\n        <t t-set=\"table_data\" t-value=\"question_data['table_data']\"/>\n        <ul class=\"nav nav-tabs d-print-none\" role=\"tablist\">\n            <li t-if=\"question_answered\" class=\"nav-item active\">\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 me-1\"/>Biểu đồ\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 with-3d-shadow with-transitions survey_graph\" t-att-id=\"'survey_graph_question_%d' % question.id\" t-att-data-question-id=\"question.id\" data-graph-type=\"multi_bar\" t-att-data-graph-data=\"graph_data\">\n                <!-- canvas element for drawing Multibar chart -->\n                <canvas/>\n            </div>\n            <div role=\"tabpanel\" t-attf-class=\"tab-pane #{'active' if not question_answered else ''}\" t-att-id=\"'survey_data_question_%d' % question.id\">\n                <table class=\"table table-hover table-sm text-end\">\n                    <thead t-if=\"table_data\">\n                        <tr>\n                            <th/>\n                            <th class=\"text-end\" t-foreach=\"table_data[0]['columns']\" t-as=\"column_data\">\n                                <span t-esc=\"column_data['suggested_answer'].value\"/>\n                            </th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr t-foreach=\"table_data\" t-as=\"choice_data\">\n                            <td>\n                                <span t-esc=\"choice_data['row'].value\"/>\n                            </td>\n                            <td class=\"o_survey_answer\" t-foreach=\"choice_data['columns']\" t-as=\"column_data\">\n                                <span t-esc=\"round(column_data['count'] * 100.0/ (len(question_data['answer_input_done_ids']) or 1), 2)\"/> %\n                                <span class=\"badge text-bg-primary\" t-esc=\"column_data['count']\"/>\n                                <i t-if=\"column_data['count']\" class=\"fa fa-filter text-primary filter-add-answer\" t-att-data-question-id=\"question.id\" t-att-data-row-id=\"choice_data['row'].id\" t-att-data-answer-id=\"column_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                                <i t-else=\"\" class=\"o_survey_answer_matrix_whitespace\"/>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        <div t-if=\"comment_lines\" t-call=\"survey.question_result_comments\"/>\n        </div>\n    </t>"}