From 8e38fd6d56d5e51acee1775083704b765131603a Mon Sep 17 00:00:00 2001 From: kolo Date: Fri, 2 Jan 2026 21:10:39 +0300 Subject: [PATCH] Initial commit --- src/trudex/application/bot/admin_dialogs/tests.py | 2 +- src/trudex/application/bot/creator_dialogs/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trudex/application/bot/admin_dialogs/tests.py b/src/trudex/application/bot/admin_dialogs/tests.py index 1cf6a51..7c665a4 100644 --- a/src/trudex/application/bot/admin_dialogs/tests.py +++ b/src/trudex/application/bot/admin_dialogs/tests.py @@ -18,7 +18,7 @@ async def get_tests_data(test_dao: FromDishka[TestDAO], **_kwargs): return { "tests": [ - (t.title, t.id) + (f"{'🟢' if t.is_active else '🔴'} {t.title}", t.id) for t in tests ], "count": len(tests), diff --git a/src/trudex/application/bot/creator_dialogs/tests.py b/src/trudex/application/bot/creator_dialogs/tests.py index 9c6a63d..9740562 100644 --- a/src/trudex/application/bot/creator_dialogs/tests.py +++ b/src/trudex/application/bot/creator_dialogs/tests.py @@ -19,7 +19,7 @@ async def get_tests_data(test_dao: FromDishka[TestDAO], **_kwargs): return { "tests": [ - (t.title, t.id) + (f"{'🟢' if t.is_active else '🔴'} {t.title}", t.id) for t in tests ], "count": len(tests),