diff --git a/core/templates/core/admin_dashboard.html b/core/templates/core/admin_dashboard.html index a354ae6..3635a52 100644 --- a/core/templates/core/admin_dashboard.html +++ b/core/templates/core/admin_dashboard.html @@ -61,7 +61,6 @@ {% trans "Owner" %} {% trans "Truck Details" %} {% trans "Plate No" %} - {% trans "Documents" %} {% trans "Actions" %} @@ -74,20 +73,22 @@ {{ truck.model }} ({{ truck.year }}) - {{ truck.color }} {{ truck.plate_no }} - -
- {% if truck.truck_picture %} - {% trans "Photo" %} - {% endif %} - {% if truck.registration_front %} - {% trans "Reg. Front" %} - {% endif %} - {% if truck.registration_back %} - {% trans "Reg. Back" %} - {% endif %} -
- + {% trans "Approve" %} @@ -95,7 +96,7 @@ {% empty %} - {% trans "No trucks awaiting approval." %} + {% trans "No trucks awaiting approval." %} {% endfor %} @@ -130,6 +131,21 @@ {{ truck.plate_no }} + {% trans "Suspend" %} @@ -146,6 +162,96 @@ + + +

{% trans "Quick Actions" %}

@@ -192,11 +298,65 @@
+ + {% endblock %} \ No newline at end of file diff --git a/locale/ar/LC_MESSAGES/django.mo b/locale/ar/LC_MESSAGES/django.mo index d1f9cdc..39296fc 100644 Binary files a/locale/ar/LC_MESSAGES/django.mo and b/locale/ar/LC_MESSAGES/django.mo differ diff --git a/locale/ar/LC_MESSAGES/django.po b/locale/ar/LC_MESSAGES/django.po index bf707df..39b047e 100644 --- a/locale/ar/LC_MESSAGES/django.po +++ b/locale/ar/LC_MESSAGES/django.po @@ -318,6 +318,43 @@ msgstr "إدارة المستخدمين" msgid "Review registered profiles" msgstr "مراجعة الملفات الشخصية المسجلة" +#: core/templates/core/admin_dashboard.html:195 +#: core/templates/core/shipper_dashboard.html:45 +msgid "View" +msgstr "عرض" + +#: core/templates/core/admin_dashboard.html:200 +msgid "General Information" +msgstr "معلومات عامة" + +#: core/templates/core/admin_dashboard.html:205 +msgid "Truck Image" +msgstr "صورة الشاحنة" + +#: core/templates/core/admin_dashboard.html:210 +msgid "Documents & Registration" +msgstr "المستندات والتسجيل" + +#: core/templates/core/admin_dashboard.html:215 +msgid "Not available" +msgstr "غير متوفر" + +#: core/templates/core/admin_dashboard.html:220 +msgid "No image provided" +msgstr "لم يتم توفير صورة" + +#: core/templates/core/admin_dashboard.html:225 +msgid "Type" +msgstr "النوع" + +#: core/templates/core/admin_dashboard.html:230 +msgid "Capacity" +msgstr "الحمولة" + +#: core/templates/core/admin_dashboard.html:235 +msgid "Close" +msgstr "إغلاق" + #: core/templates/core/index.html:11 msgid "Smart Cargo Solutions" msgstr "حلول شحن ذكية" @@ -331,7 +368,7 @@ msgid "" "The most reliable platform connecting shippers with truck owners across the " "region. Transparent, fast, and secure." msgstr "" -"المنصة الأكثر موثوقية لربط الشاحنين مع أصحاب الشاحنات في جميع أنحاء المنطقة. " +"المنصة الأكثر موثوقية لربط الشاحنين مع أسطول الشاحنات في جميع أنحاء المنطقة. " "شفافة، سريعة، وآمنة." #: core/templates/core/index.html:18 @@ -771,4 +808,4 @@ msgstr "خطأ في تقديم العرض. يرجى التحقق من النمو #: core/views.py:195 msgid "Bid accepted! Shipment is now in progress." -msgstr "تم قبول العرض! الشحنة قيد التنفيذ الآن." \ No newline at end of file +msgstr "تم قبول العرض! الشحنة قيد التنفيذ الآن."