From 892cfcc39ab892a87fb3ebba7f05928989c77165 Mon Sep 17 00:00:00 2001 From: Maciej Pienczyn Date: Thu, 8 Jan 2026 14:04:09 +0100 Subject: [PATCH] Fix: Template url_for errors - use company_id instead of slug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Naprawia błędy BuildError w szablonach admin gdzie używano slug zamiast company_id. Co-Authored-By: Claude Opus 4.5 --- templates/admin/digital_maturity.html | 8 ++++---- templates/admin_seo_dashboard.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/admin/digital_maturity.html b/templates/admin/digital_maturity.html index 5dd9ff6..43f79a7 100755 --- a/templates/admin/digital_maturity.html +++ b/templates/admin/digital_maturity.html @@ -220,7 +220,7 @@ {{ loop.index }} - + {{ company.name }} @@ -270,7 +270,7 @@ {{ loop.index }} - + {{ company.name }} @@ -320,7 +320,7 @@ {{ loop.index }} - + {{ company.name }} @@ -369,7 +369,7 @@ {{ loop.index }} - + {{ company.name }} diff --git a/templates/admin_seo_dashboard.html b/templates/admin_seo_dashboard.html index 61a8164..698e053 100644 --- a/templates/admin_seo_dashboard.html +++ b/templates/admin_seo_dashboard.html @@ -484,7 +484,7 @@ data-best_practices="{{ company.best_practices_score if company.best_practices_score is not none else -1 }}" data-date="{{ company.seo_audited_at.isoformat() if company.seo_audited_at else '1970-01-01' }}"> - {{ company.name }} + {{ company.name }} {% if company.website %} {{ company.website }} {% endif %} @@ -540,7 +540,7 @@