diff --git a/static/images/car_images/057a7b83ffc9f9973354043cc6822fda342d030ddbfb8caf588aee3e81a9a4a0.png b/static/images/car_images/057a7b83ffc9f9973354043cc6822fda342d030ddbfb8caf588aee3e81a9a4a0.png
new file mode 100644
index 00000000..1db7f16b
Binary files /dev/null and b/static/images/car_images/057a7b83ffc9f9973354043cc6822fda342d030ddbfb8caf588aee3e81a9a4a0.png differ
diff --git a/static/images/car_images/d82ee1d8079ace087bb9ada740291fbfabe9a8d0d845f512aa37311efaf47eba.png b/static/images/car_images/d82ee1d8079ace087bb9ada740291fbfabe9a8d0d845f512aa37311efaf47eba.png
new file mode 100644
index 00000000..db30ab64
Binary files /dev/null and b/static/images/car_images/d82ee1d8079ace087bb9ada740291fbfabe9a8d0d845f512aa37311efaf47eba.png differ
diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html
index 17f3ab58..3b18129c 100644
--- a/templates/account/password_reset_from_key.html
+++ b/templates/account/password_reset_from_key.html
@@ -36,7 +36,7 @@
{% if token_fail %}
{% url 'account_reset_password' as passwd_reset_url %}
- {% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset .{% endblocktrans %}
+ {% trans "The password reset link was invalid, possibly because it has already been used. Please request a" %} {% trans "new password reset." %} {% endblocktrans %}
{% else %}
diff --git a/templates/admin_management/request_logs.html b/templates/admin_management/request_logs.html
index df4d7ee6..4b96f551 100644
--- a/templates/admin_management/request_logs.html
+++ b/templates/admin_management/request_logs.html
@@ -51,7 +51,7 @@
{% include 'partials/pagination.html' with q='userRequests' %}
{% else %}
- No request audit events found.
+ {% trans "No request audit events found." %}
{% endif %}
diff --git a/templates/base.html b/templates/base.html
index 40098199..7c8b42c8 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -88,7 +88,7 @@
diff --git a/templates/bill/tags/bill_table.html b/templates/bill/tags/bill_table.html
index f0fef517..60159fde 100644
--- a/templates/bill/tags/bill_table.html
+++ b/templates/bill/tags/bill_table.html
@@ -42,9 +42,9 @@
diff --git a/templates/components/email_modal.html b/templates/components/email_modal.html
index f65ae78b..b0a85ee7 100644
--- a/templates/components/email_modal.html
+++ b/templates/components/email_modal.html
@@ -15,7 +15,7 @@
-
hi
+ {% trans "hi" %}
diff --git a/templates/crm/add_activity.html b/templates/crm/add_activity.html
index 2e171743..75b4b264 100644
--- a/templates/crm/add_activity.html
+++ b/templates/crm/add_activity.html
@@ -1,10 +1,10 @@
{% extends 'base.html' %}
{% load i18n static crispy_forms_filters %}
{% block content %}
- Add Activity to {{ lead.first_name }} {{ lead.last_name }}
+ {% trans "Add Activity to" %} {{ lead.first_name }} {{ lead.last_name }}
{% csrf_token %}
{{ form|crispy }}
- Add Activity
+ {% trans "Add Activity" %}
{% endblock %}
diff --git a/templates/crm/employee_calendar.html b/templates/crm/employee_calendar.html
index 74d71a84..519680e0 100644
--- a/templates/crm/employee_calendar.html
+++ b/templates/crm/employee_calendar.html
@@ -6,13 +6,13 @@
- Customer
- Service
- Date
- Start Time
- End Time
- Staff
- Status
+ {% trans "Customer" %}
+ {% trans "Service" %}
+ {% trans "Date" %}
+ {% trans "Start Time" %}
+ {% trans "End Time" %}
+ {% trans "Staff" %}
+ {% trans "Status" %}
@@ -27,7 +27,7 @@
{{ appointment.get_staff_member_name }}
- view
+ {%trans "view" %}
{% endfor %}
diff --git a/templates/crm/leads/lead_send.html b/templates/crm/leads/lead_send.html
index 1ea38305..a0549f8e 100644
--- a/templates/crm/leads/lead_send.html
+++ b/templates/crm/leads/lead_send.html
@@ -6,7 +6,7 @@
{% endblock title %}
{% block content %}
-
+
Save as Draft
+ class="btn btn-phoenix-success">{% trans "Save as Draft" %}
- Send
+ {% trans "Send" %}
diff --git a/templates/crm/notifications.html b/templates/crm/notifications.html
index e080aed1..7ffb5288 100644
--- a/templates/crm/notifications.html
+++ b/templates/crm/notifications.html
@@ -5,7 +5,7 @@
@@ -39,7 +39,7 @@
diff --git a/templates/crm/notifications_history.html b/templates/crm/notifications_history.html
index 100651d9..68ea14ba 100644
--- a/templates/crm/notifications_history.html
+++ b/templates/crm/notifications_history.html
@@ -38,6 +38,6 @@
{% endif %}
{% else %}
- No notifications found.
+ {% trans "No notifications found." %}
{% endif %}
{% endblock %}
diff --git a/templates/crm/opportunities/opportunity_confirm_delete.html b/templates/crm/opportunities/opportunity_confirm_delete.html
index 8170c2e4..19aeec15 100644
--- a/templates/crm/opportunities/opportunity_confirm_delete.html
+++ b/templates/crm/opportunities/opportunity_confirm_delete.html
@@ -1,10 +1,10 @@
{% extends 'base.html' %}
{% block content %}
- Delete Opportunity
- Are you sure you want to delete "{{ object.deal_name }}"?
+ {% trans "Delete Opportunity" %}
+ {% trans "Are you sure you want to delete" %} "{{ object.deal_name }}"?
{% csrf_token %}
- Yes, delete
- Cancel
+ {% trans "Yes, delete" %}
+ {% trans "Cancel" %}
{% endblock %}
diff --git a/templates/crm/opportunities/opportunity_detail.html b/templates/crm/opportunities/opportunity_detail.html
index 9c438233..16bf74c2 100644
--- a/templates/crm/opportunities/opportunity_detail.html
+++ b/templates/crm/opportunities/opportunity_detail.html
@@ -37,18 +37,18 @@
{% if perms.inventory.change_opportunity %}
Update Opportunity
+ href="{% url 'update_opportunity' request.dealer.slug opportunity.slug %}">{% trans "Update Opportunity" %}
Update Stage
+ data-bs-target="#updateStageModal">{% trans "Update Stage" %}
{% endif %}
{% if perms.inventory.delete_opportunity %}
- Delete Opportunity
+ {% trans "Delete Opportunity" %}
{% endif %}
@@ -73,7 +73,7 @@
{% if opportunity.car.marked_price %}
- {{ opportunity.car.total }} # TODO : check later
+ {{ opportunity.car.total }}
{% endif %}
@@ -91,20 +91,20 @@
{{ opportunity.customer|capfirst }}
- Individual
+ {% trans "Individual" %}
{% else %}
{{ opportunity.organization|capfirst }}
- Organization
+ {% trans "Organization" %}
{% endif %}
- STAGE : {{ opportunity.get_stage_display }} {{ opportunity.get_status_display }}
+ {% trans "STAGE" %} : {{ opportunity.get_stage_display }} {{ opportunity.get_status_display }}
@@ -295,7 +295,7 @@
style="width:16px;
height:16px">
- Probability (%)
+ {% trans "Probability (%)" %}
:
@@ -421,7 +421,7 @@
:
{% if request.user.email == opportunity.staff.email %}
- You
+ {% trans "You" %}
{% else %}
{{ opportunity.staff.get_local_name }}
{% endif %}
@@ -560,25 +560,25 @@
scope="col"
data-sort="subject"
style="width:31%;
- min-width:350px">Title
+ min-width:350px">{% trans "Title" %}
Notes
+ min-width:350px">{% trans "Notes" %}
Assigned to
+ min-width:130px">{% trans "Assigned to" %}
Due Date
+ style="min-width:165px">{% trans "Due Date" %}
Completed
+ style="min-width:165px">{% trans "Completed" %}
@@ -592,7 +592,7 @@
@@ -678,143 +678,7 @@
- {% comment %}
-
Notes
- {%if perms.inventory.change_opportunity%}
-
- {% csrf_token %}
-
- Add Note
-
- {% endif %}
-
-
- {% for note in opportunity.get_notes %}
-
- {% endfor %}
-
-
-
{% endcomment %}
-{% comment %}
-
Meeting
-
-
-
- {% if perms.inventory.change_opportunity%}
-
- {% endif %}
-
-
- {% for metting in opportunity.lead.get_meetings %}
-
-
-
-
-
-
{{metting.purpose}}
-
{{metting.scheduled_at}} - {{meeting.duration}}
-
-
-
-
-
- {% endfor %}
-
-
{% endcomment %}
-{% comment %}
-
-
-
Call
-
- {% if perms.inventory.change_opportunity%}
-
- {% endif %}
-
-
-
{{opportunity.get_all_notes}}
-
-
{% endcomment %}
+
Emails
{% if perms.inventory.change_opportunity %}
- {% comment %}
-
-
- {% trans 'Send Email' %}
-
- {% endcomment %}
+
{% if opportunity.lead %}
Subject
+ min-width:350px">{% trans "Subject" %}
Sent by
+ min-width:130px">{% trans "Sent by" %}
Date
+ style="min-width:15px">{% trans "Date" %}
Status
+ min-width:100px">{% trans "Status" %}
@@ -901,7 +760,7 @@
{{ email.from_email }}
{{ email.created }}
- sent
+ {% trans "sent" %}
{% endfor %}
@@ -912,7 +771,7 @@
@@ -930,92 +789,7 @@
-
+
-
Activity
+
{% trans "Activity" %}
diff --git a/templates/crm/opportunities/opportunity_list copy.html b/templates/crm/opportunities/opportunity_list copy.html
index b9a1260e..e2f94335 100644
--- a/templates/crm/opportunities/opportunity_list copy.html
+++ b/templates/crm/opportunities/opportunity_list copy.html
@@ -108,7 +108,7 @@
:
- {{ opportunity.car.total }}# TODO : check later
+ {{ opportunity.car.total }}
diff --git a/templates/crm/opportunities/opportunity_logs.html b/templates/crm/opportunities/opportunity_logs.html
index da56c1e5..15acc8be 100644
--- a/templates/crm/opportunities/opportunity_logs.html
+++ b/templates/crm/opportunities/opportunity_logs.html
@@ -1,16 +1,16 @@
{% extends 'base.html' %}
{% block content %}
-
Logs for {{ opportunity.deal_name }}
+
{% trans "Logs for" %} {{ opportunity.deal_name }}
- Action
- User
- Old Status
- New Status
- Details
- Date
+ {% trans "Action" %}
+ {% trans "User" %}
+ {%trans Old Status %}
+ {% trans "New Status" %}
+ {% trans "Details" %}
+ {% trans "Date" %}
@@ -25,7 +25,7 @@
{% empty %}
- No logs found.
+ {% trans "No logs found." %}
{% endfor %}
diff --git a/templates/csv_upload.html b/templates/csv_upload.html
index ca58ae26..1f4ec621 100644
--- a/templates/csv_upload.html
+++ b/templates/csv_upload.html
@@ -80,7 +80,7 @@
{% if messages %}
@@ -163,7 +163,7 @@
{% endif %}
{% if item %}
- List of Items
+ {% trans "List of Items" %}
{{ item.item_model }}
@@ -171,7 +171,7 @@
{% endif %}
-
CSV File
+
{% trans "CSV File" %}
{{ _("CSV should include columns: vin") }}
- Upload
+ {% trans "Upload" %}
Cancel
+ class="btn btn-phoenix-secondary mb-2">{% trans "Cancel" %}
{% endblock %}
diff --git a/templates/dashboards/aging_inventory_list.html b/templates/dashboards/aging_inventory_list.html
index a2446b65..251b13a6 100644
--- a/templates/dashboards/aging_inventory_list.html
+++ b/templates/dashboards/aging_inventory_list.html
@@ -91,7 +91,7 @@
{{ car.id_car_make.name }} {{ car.id_car_model.name }} {{ car.id_car_serie.name }} {{ car.year }}
- {% trans "VIN:" %} {{ car.vin }}
+ {% trans "VIN:" %} {{ car.vin }}
{% trans "Age:" %}
diff --git a/templates/dashboards/general_dashboard.html b/templates/dashboards/general_dashboard.html
index bf681015..0b0c0674 100644
--- a/templates/dashboards/general_dashboard.html
+++ b/templates/dashboards/general_dashboard.html
@@ -46,8 +46,8 @@
-
{% include 'dashboards/financial_data_cards.html' %}
- {% include 'dashboards/chart.html' %}
+ {% include 'dashboards/partials//financial_data_cards.html' %}
+ {% include 'dashboards/partials/chart.html' %}
{% endblock content %}
diff --git a/templates/dashboards/manager_dashboard.html b/templates/dashboards/manager_dashboard.html
deleted file mode 100644
index c4544e56..00000000
--- a/templates/dashboards/manager_dashboard.html
+++ /dev/null
@@ -1,371 +0,0 @@
-{% extends 'base.html' %}
-{% block content %}
-
-
-
- Manager Dashboard
-
-
-
-
-
-
-
-
-
Total Revenue
-
$1.25M
-
-
- +8% from last month
-
-
-
-
-
-
-
-
-
- +8% from last month
-
-
-
-
-
-
-
-
-
Total Expense
-
$1.25M
-
-
- +3% from last month
-
-
-
-
-
-
-
-
-
Total Cars Sold
-
{{ sold_cars }}
-
-
- +5 units from last month
-
-
-
-
-
-
-
-
-
Avg. Time on Lot
-
10 days
-
-
- +2 days from last month
-
-
-
-
-
-
-
-
-
Inventory Value
-
$5.8M
-
-
- -2% from last month
-
-
-
-
-
-
-
-
-
Aging Inventory
-
12 units
-
-
- -4 cars from last month
-
-
-
-
-
-
-
-
-
Gross Profit
-
$1.25M
-
-
- +8% from last month
-
-
-
-
-
-
-
-
-
-{% endblock content %}
-{% block customJS %}
-
-{% endblock %}
diff --git a/templates/dashboards/chart.html b/templates/dashboards/partials/chart.html
similarity index 82%
rename from templates/dashboards/chart.html
rename to templates/dashboards/partials/chart.html
index 28a5af3f..3d997c3b 100644
--- a/templates/dashboards/chart.html
+++ b/templates/dashboards/partials/chart.html
@@ -6,7 +6,7 @@
{% endblocktrans %}
-
+
-
+
-
+
-
+
@@ -72,7 +79,7 @@
{% if request.is_dealer or request.is_manager or request.is_inventory %}
{% trans "Inventory Trends" %}
-
+
-
+
diff --git a/templates/dashboards/financial_data_cards.html b/templates/dashboards/partials/financial_data_cards.html
similarity index 100%
rename from templates/dashboards/financial_data_cards.html
rename to templates/dashboards/partials/financial_data_cards.html
diff --git a/templates/errors/403.html b/templates/errors/403.html
index e547aed6..5e36b9cf 100644
--- a/templates/errors/403.html
+++ b/templates/errors/403.html
@@ -16,12 +16,12 @@
-
Access Forbidden!
+
{% trans "Access Forbidden!" %}
- Halt! Thou art endeavouring to trespass upon a realm not granted unto thee.
+ {% trans "Halt! Thou art endeavouring to trespass upon a realm not granted unto thee." %}
- granted unto thee.
+ {% trans "granted unto thee." %}"
-
Go Home
+
{% trans "Go Home" %}
diff --git a/templates/groups/group_detail.html b/templates/groups/group_detail.html
index 4e4474bb..2b7fe935 100644
--- a/templates/groups/group_detail.html
+++ b/templates/groups/group_detail.html
@@ -79,9 +79,9 @@