You've already forked Travel-Agent
feat: Added travel deletion and added ability to add locations
This commit is contained in:
+21
-5
@@ -23,18 +23,34 @@ def get(travel_id: int):
|
||||
callback_data=f"travel_locations_{travel_id}",
|
||||
),
|
||||
types.InlineKeyboardButton(
|
||||
text="π€ Users",
|
||||
callback_data=f"travel_users_{travel_id}",
|
||||
text="β Add location",
|
||||
callback_data=f"travel_add_location_{travel_id}",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="β Add location",
|
||||
callback_data=f"travel_add_{travel_id}_location",
|
||||
text="π€ Users",
|
||||
callback_data=f"travel_users_{travel_id}",
|
||||
),
|
||||
types.InlineKeyboardButton(
|
||||
text="β Add user",
|
||||
callback_data=f"travel_add_{travel_id}_user",
|
||||
callback_data=f"travel_add_user_{travel_id}",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="π Notes",
|
||||
callback_data=f"travel_notes_{travel_id}",
|
||||
),
|
||||
types.InlineKeyboardButton(
|
||||
text="β Add note",
|
||||
callback_data=f"travel_add_note_{travel_id}",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="β Delete travel",
|
||||
callback_data=f"travel_delete_{travel_id}",
|
||||
),
|
||||
)
|
||||
builder.row(
|
||||
|
||||
Reference in New Issue
Block a user