{% trans 'First Name' %}: {{ user.first_name }}
-{% trans 'Last Name' %}: {{ user.last_name }}
+{% trans 'First name' %}: {{ user.first_name }}
+{% trans 'Last name' %}: {{ user.last_name }}
{% trans 'Email' %}: {{ user.email }}
diff --git a/appointment/services.py b/appointment/services.py index e6fa932..0b2bf07 100644 --- a/appointment/services.py +++ b/appointment/services.py @@ -63,9 +63,9 @@ def prepare_appointment_display_data(user, appointment_id): return None, None, _("You are not authorized to view this appointment."), 403 # Prepare the data for display - page_title = _("Appointment Details for {client_name}").format(client_name=appointment.get_client_name()) + page_title = _("Appointment details: {client_name}").format(client_name=appointment.get_client_name()) if user.is_superuser: - page_title += f' ({appointment.get_staff_member_name()})' + page_title += f' (by: {appointment.get_staff_member_name()})' return appointment, page_title, None, 200 diff --git a/appointment/templates/administration/manage_working_hours.html b/appointment/templates/administration/manage_working_hours.html index c242627..32cafec 100644 --- a/appointment/templates/administration/manage_working_hours.html +++ b/appointment/templates/administration/manage_working_hours.html @@ -36,7 +36,7 @@
{% trans 'First Name' %}: {{ user.first_name }}
-{% trans 'Last Name' %}: {{ user.last_name }}
+{% trans 'First name' %}: {{ user.first_name }}
+{% trans 'Last name' %}: {{ user.last_name }}
{% trans 'Email' %}: {{ user.email }}
{% trans 'Start Date' %} | -{% trans 'End Date' %} | +{% trans 'Start date' %} | +{% trans 'End date' %} | {% trans 'Description' %} | {% trans 'Action' %} |
---|---|---|---|---|---|
{% trans 'Day' %} | -{% trans 'Start Time' %} | -{% trans 'End Time' %} | +{% trans 'Start time' %} | +{% trans 'End time' %} | {% trans 'Action' %} | {% trans 'Description' %} | {% trans 'Duration' %} | {% trans 'Price' %} | -{% trans 'Down Payment' %} | +{% trans 'Down payment' %} | diff --git a/appointment/templates/appointment/appointment_client_information.html b/appointment/templates/appointment/appointment_client_information.html index b5b5f63..18b584b 100644 --- a/appointment/templates/appointment/appointment_client_information.html +++ b/appointment/templates/appointment/appointment_client_information.html @@ -64,7 +64,7 @@