From 60b9121a054425000fbc0a060894cf67780b0326 Mon Sep 17 00:00:00 2001 From: Aleksey Razorvin <> Date: Sat, 21 Mar 2026 13:39:07 +0500 Subject: [PATCH] fix: move version history section below metadata card Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/TestEdit/index.tsx | 58 +++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/frontend/src/pages/TestEdit/index.tsx b/frontend/src/pages/TestEdit/index.tsx index 8e3b6ed..cb0e7ed 100644 --- a/frontend/src/pages/TestEdit/index.tsx +++ b/frontend/src/pages/TestEdit/index.tsx @@ -127,6 +127,35 @@ export default function TestEdit() { style={{ marginBottom: 16 }} /> + {test.title} + + {test.description && ( + + {test.description} + + )} + + + + {test.questions.length} + {test.passing_score}% + + {test.time_limit ? `${test.time_limit} мин` : 'Без ограничений'} + + + {test.allow_navigation_back ? ( + Разрешён + ) : ( + Запрещён + )} + + {test.version} + + {new Date(test.created_at).toLocaleDateString('ru-RU')} + + + + {versions.length > 1 && ( <> История версий @@ -186,35 +215,6 @@ export default function TestEdit() { )} - {test.title} - - {test.description && ( - - {test.description} - - )} - - - - {test.questions.length} - {test.passing_score}% - - {test.time_limit ? `${test.time_limit} мин` : 'Без ограничений'} - - - {test.allow_navigation_back ? ( - Разрешён - ) : ( - Запрещён - )} - - {test.version} - - {new Date(test.created_at).toLocaleDateString('ru-RU')} - - - - Вопросы ({test.questions.length}) {test.questions.map((question, index) => (