From 8601797e0bfb87b333b6f6d702d7fcf8479c79fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=9Fur=20Dindar?= <55401127+Tzesh@users.noreply.github.com> Date: Wed, 9 Jun 2021 01:09:20 +0300 Subject: [PATCH] v1.01 --- denpointment.py | 2 +- templates/appointments.html | 10 ++++++++-- templates/includes/_footer.html | 2 +- templates/includes/_navbar.html | 10 +++++----- templates/login.html | 2 +- templates/register.html | 2 +- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/denpointment.py b/denpointment.py index fbc65b8..d989804 100644 --- a/denpointment.py +++ b/denpointment.py @@ -521,7 +521,7 @@ def book_an_appointment(): flash(message="You have an upcoming appointment, you can get another appointment after that one.", category="danger") cursor.close() - return redirect(url_for("book_an_appointment")) + return redirect(url_for("my_appointments")) query = """ SELECT dentists.dentist_id, dentists.room_number, persons.first_name, persons.last_name diff --git a/templates/appointments.html b/templates/appointments.html index eef36bd..0b36dde 100644 --- a/templates/appointments.html +++ b/templates/appointments.html @@ -63,8 +63,14 @@