-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtextfor_db.py
More file actions
32 lines (28 loc) · 1.25 KB
/
textfor_db.py
File metadata and controls
32 lines (28 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from aiogram.utils.formatting import Bold, as_list, as_marked_section
from database.orm_add import create_categories, orm_add_banner_description
from sqlalchemy.ext.asyncio import AsyncSession
categories = ['Їда', 'Напої']
description_for_info_pages = {
"main": "Добро пожаловать!",
"about": "Пиццерия Такая-то.\nРежим работы - круглосуточно.",
"payment": as_marked_section(
Bold("Варианты оплаты:"),
"Картой в боте",
"При получении карта/кеш",
"В заведении",
marker="✅ ",
).as_html(),
"shipping": as_list(
as_marked_section(
Bold("Варианты доставки/заказа:"),
"Курьер",
"Самовынос (сейчас прибегу заберу)",
"Покушаю у Вас (сейчас прибегу)",
marker="✅ ",
),
as_marked_section(Bold("Нельзя:"), "Почта", "Голуби", marker="❌ "),
sep="\n----------------------\n",
).as_html(),
'catalog': 'Категории:',
'cart': 'В корзине ничего нет!'
}