You've already forked Travel-Agent
feat: Added ability to change travel
This commit is contained in:
+11
-1
@@ -17,6 +17,16 @@ def get(travel_id: int):
|
||||
callback_data=f"travel_change_{travel_id}_description",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="🗺️ Locations",
|
||||
callback_data=f"travel_locations_{travel_id}",
|
||||
),
|
||||
types.InlineKeyboardButton(
|
||||
text="👤 Users",
|
||||
callback_data=f"travel_users_{travel_id}",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="➕ Add location",
|
||||
@@ -30,7 +40,7 @@ def get(travel_id: int):
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="⬅️",
|
||||
callback_data="menu_travels",
|
||||
callback_data="travels",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user