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),