From d424637ef33fe6622012e4ccc96bd237a303c0dd Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Mon, 26 May 2025 17:27:15 +0300 Subject: [PATCH] title and other table ui changes --- templates/account/user_settings.html | 2 +- templates/admin_management/management.html | 2 + templates/crm/leads/lead_form.html | 8 ++++ templates/crm/leads/lead_tracking.html | 2 +- .../crm/opportunities/opportunity_detail.html | 2 +- .../crm/opportunities/opportunity_form.html | 9 ++++- .../crm/opportunities/opportunity_list.html | 2 +- templates/customers/customer_form.html | 10 ++++- templates/dealers/activity_log.html | 1 + templates/dealers/assign_car_makes.html | 4 +- templates/dealers/dealer_detail.html | 5 ++- templates/groups/group_form.html | 9 ++++- templates/groups/group_list.html | 2 +- templates/inventory/car_form.html | 1 + templates/inventory/car_list.html | 1 + templates/inventory/car_list_view.html | 1 + templates/items/expenses/expense_create.html | 2 +- templates/items/expenses/expense_update.html | 2 +- templates/items/service/service_create.html | 11 +++++- .../bank_accounts/bank_account_form.html | 10 ++++- .../ledger/coa_accounts/account_form.html | 10 ++++- templates/ledger/reports/balance_sheet.html | 2 +- .../ledger/reports/cash_flow_statement.html | 2 +- .../ledger/reports/income_statement.html | 2 +- .../organizations/organization_form.html | 9 ++++- .../plans/billing_info_create_or_update.html | 2 +- templates/plans/invoices/layout.html | 10 ++--- templates/plans/order_detail.html | 14 +++---- templates/plans/order_detail_table.html | 38 +++++++++---------- templates/plans/order_list.html | 2 +- templates/pricing_page.html | 1 + templates/sales/invoices/invoice_detail.html | 2 +- templates/sales/sales_list.html | 1 + templates/users/user_form.html | 9 ++++- templates/users/user_list.html | 2 +- templates/vendors/vendor_form.html | 10 ++++- 36 files changed, 144 insertions(+), 58 deletions(-) diff --git a/templates/account/user_settings.html b/templates/account/user_settings.html index eec9dfc4..4bb3c987 100644 --- a/templates/account/user_settings.html +++ b/templates/account/user_settings.html @@ -2,7 +2,7 @@ {% load crispy_forms_filters %} {% load i18n static %} {% load allauth account %} -{% block head_title %} +{% block title %} {% trans 'User Settings' %} {% endblock %} {% block content %} diff --git a/templates/admin_management/management.html b/templates/admin_management/management.html index 33943c2b..65c612d4 100644 --- a/templates/admin_management/management.html +++ b/templates/admin_management/management.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load i18n %} +{%block title%} {%trans 'Admin Management' %} {%endblock%} {% block content %}

Admin Management

diff --git a/templates/crm/leads/lead_form.html b/templates/crm/leads/lead_form.html index ee7eb3bf..26e8e432 100644 --- a/templates/crm/leads/lead_form.html +++ b/templates/crm/leads/lead_form.html @@ -1,5 +1,13 @@ {% extends 'base.html' %} {% load i18n static crispy_forms_filters %} +{% block title %} + {# Check if an 'object' exists in the context #} + {% if object %} + {% trans 'Update Lead'%} + {% else %} + {% trans 'Add New Lead'%} + {% endif %} +{% endblock %} {% block customcss %}