Фото: статусы модерации показываются и в тестовом режиме
This commit is contained in:
+4
-3
@@ -395,11 +395,12 @@ def photo_cancel_text() -> str:
|
||||
def photo_moderation_pending(photo_id: str) -> str:
|
||||
return _photo_moderation_pending(photo_id, EMOJI_DIGITS)
|
||||
|
||||
def photo_welcome_with_status(status: dict = None) -> str:
|
||||
def photo_welcome_with_status(status: dict = None, show_test: bool = False) -> str:
|
||||
"""Универсальное входное сообщение фото-режима: меню + статус модерации,
|
||||
если он требует внимания (отказ с причиной)."""
|
||||
если он требует внимания (отказ с причиной).
|
||||
show_test — добавить кнопку тест-проверки (PHOTO_TEST_MODE)."""
|
||||
info = _photo_status_info(status, EMOJI_DIGITS)
|
||||
return _photo_welcome(EMOJI_DIGITS, info=info)
|
||||
return _photo_welcome(EMOJI_DIGITS, show_test=show_test, info=info)
|
||||
|
||||
PHOTO_TEST_WELCOME_TEXT = _photo_test_welcome(EMOJI_DIGITS)
|
||||
PHOTO_TEST_PREVIEW_TEXT = _photo_test_preview(EMOJI_DIGITS)
|
||||
|
||||
Reference in New Issue
Block a user