fix tribute convertation
This commit is contained in:
@@ -83,11 +83,21 @@ def build_module_menu_kb(name: str, page: int) -> InlineKeyboardMarkup:
|
||||
callback_data=AdminPanelCallback(action=f"module_update__{name}", page=page).pack(),
|
||||
)
|
||||
|
||||
builder.button(
|
||||
text="⬆️ Загрузить settings.py",
|
||||
callback_data=AdminPanelCallback(action="module_upload_settings", page=page).pack(),
|
||||
)
|
||||
builder.button(
|
||||
text="⬆️ Загрузить texts.py",
|
||||
callback_data=AdminPanelCallback(action="module_upload_texts", page=page).pack(),
|
||||
)
|
||||
|
||||
builder.row(
|
||||
InlineKeyboardButton(
|
||||
text="⬅️ К списку",
|
||||
callback_data=AdminPanelCallback(action="modules", page=page).pack(),
|
||||
)
|
||||
)
|
||||
|
||||
builder.adjust(1)
|
||||
return builder.as_markup()
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user