From 7cff3797e2ff3965a143412cfc98032f3a3606ad Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Thu, 30 Sep 2021 11:53:01 +0000 Subject: [PATCH] [IMP] http_routing: make the 404 image use theme color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this commit, the 404 image is now using the theme color. Not only it will be displayed in the secondary color, but it will also gets updated when the theme color is changed. This one was waiting for the new editor to handle inline svg as regular img (task-2497786) but in the meantime, the website is now capable of doing that another way, as does in this commit. task-2659182 closes odoo/odoo#77569 X-original-commit: f1f2ba8ede7641c79eb48412090ce63655ccf831 Signed-off-by: Jérémy Kersten (jke) --- addons/http_routing/static/{src/img => shapes}/404.svg | 2 +- addons/http_routing/views/http_routing_template.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename addons/http_routing/static/{src/img => shapes}/404.svg (96%) diff --git a/addons/http_routing/static/src/img/404.svg b/addons/http_routing/static/shapes/404.svg similarity index 96% rename from addons/http_routing/static/src/img/404.svg rename to addons/http_routing/static/shapes/404.svg index c2ef1347720..86bd00384ed 100644 --- a/addons/http_routing/static/src/img/404.svg +++ b/addons/http_routing/static/shapes/404.svg @@ -1,6 +1,6 @@ - + diff --git a/addons/http_routing/views/http_routing_template.xml b/addons/http_routing/views/http_routing_template.xml index ce9f21c630c..7e873748e91 100644 --- a/addons/http_routing/views/http_routing_template.xml +++ b/addons/http_routing/views/http_routing_template.xml @@ -109,7 +109,7 @@
- +

Error 404