From bc079ead055c8dcb607072d846ee02781db99ec3 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Fri, 11 Jul 2025 13:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20RESTORE:=20Admin=20quotation=20deta?= =?UTF-8?q?il=20template=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Fixed admin quotation detail template structure: - Corrected block structure for proper inheritance - Updated to use Bootstrap Icons (bi-*) for consistency - Improved header layout with proper title and back button - Enhanced visual consistency across admin pages CHANGES: - Switch from FontAwesome to Bootstrap Icons in quotation templates - Better template block organization - Consistent header styling with other admin pages - Improved navigation flow SAFE: Only template improvements, no functionality changes --- src/app/templates/_quotation_details.html | 4 ++-- src/app/templates/admin/quotation_detail.html | 20 ++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/app/templates/_quotation_details.html b/src/app/templates/_quotation_details.html index 578a71f..ccc0908 100644 --- a/src/app/templates/_quotation_details.html +++ b/src/app/templates/_quotation_details.html @@ -121,10 +121,10 @@ {% if show_actions %}
- Back to Quotations + Back to Quotations
{% endif %} diff --git a/src/app/templates/admin/quotation_detail.html b/src/app/templates/admin/quotation_detail.html index 9841421..6cb0b68 100644 --- a/src/app/templates/admin/quotation_detail.html +++ b/src/app/templates/admin/quotation_detail.html @@ -1,16 +1,18 @@ {% extends "admin/base.html" %} -{% block admin_title %}Quotation Details{% endblock %} +{% block title %}Quotation Details - Admin Panel{% endblock %} -{% block admin_header %}Quotation Details{% endblock %} +{% block content %} +
+

+ + Quotation Details #{{ quotation.id }} +

+ + Back to Quotations + +
-{% block admin_actions %} - - Back to Quotations - -{% endblock %} - -{% block admin_content %} {% from "_quotation_details.html" import render_quotation_details %} {{ render_quotation_details(quotation) }} {% endblock %}