From e60323f87665e08d4cb0bd099dd0ee0fd1630114 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 8 Aug 2019 10:33:22 +0000 Subject: [PATCH] [IMP] website, *: improve brand promotion in the footer * web, website_event, website_sale, sale_quotation_builder Instead of an ugly danger-colored badge promoting "odoo", we now use the official odoo logo. The code is also refactored to use more consistent and translatable sentences without duplicated code. Note: the odoo logo is added in the repo, downloaded from our official brand assets page (https://www.odoo.com/page/brand-assets), in its 'tiny' version. The repo already contained multiple odoo logos but they are quite old and should be replaced in a further update. Note: the svg version was not able to be used as it contains external margins... Part of https://github.com/odoo/odoo/pull/34422 task-2026299 --- .../views/sale_portal_templates.xml | 12 +++++++----- addons/web/static/src/img/odoo_logo_tiny.png | Bin 0 -> 1168 bytes addons/web/views/webclient_templates.xml | 18 +++++++++++++++++- addons/website/views/website_templates.xml | 12 +++++++----- .../website_event/views/event_templates.xml | 10 ---------- addons/website_sale/views/templates.xml | 12 +++++++----- 6 files changed, 38 insertions(+), 26 deletions(-) create mode 100644 addons/web/static/src/img/odoo_logo_tiny.png diff --git a/addons/sale_quotation_builder/views/sale_portal_templates.xml b/addons/sale_quotation_builder/views/sale_portal_templates.xml index 2b3bbe19ce4..4c5b2f6dc95 100644 --- a/addons/sale_quotation_builder/views/sale_portal_templates.xml +++ b/addons/sale_quotation_builder/views/sale_portal_templates.xml @@ -83,11 +83,13 @@ diff --git a/addons/web/static/src/img/odoo_logo_tiny.png b/addons/web/static/src/img/odoo_logo_tiny.png new file mode 100644 index 0000000000000000000000000000000000000000..9fd3895e662985ed01ac7a605c56f5e3c8d91732 GIT binary patch literal 1168 zcmV;B1aJF^P)RFFQN??VOyPeM0}22V_qJ@t-Il-~N9hey$+iH=p=F<;gyK?rKS=TKgxR z8b5(;T6D&$L9svm^wWYMwFBgY+}zwSWDmTr7L<5NNy#G6?F8FnfIT8FFK>%qGxx&6 z!W9@lZ2t#B*7gOZglFuW9JX#sJ~jR$NdIJneU4MFAacS>!eIiW-Xk$3KR{X_xth3~ zFvilM`_uvdCggH1ipOc%oZp0eukjeWmy6&COpe5_ObS~+NWxmEr=7+Y6&0-o2M^Op zP?5wjsZG&;F#zsXW(Eh+QQ*H0;4^s|Fe#ik^Oq#!Z{nEW%vS4CBGwrOTUAxHI6nG- z-eEX-3hnJ^Kl379P*AWs-d|I?uON5h{ZWSeVqgKceXT?k`WK=-8+alF@y@$VqBfLYYw%gf7G zR5p~$&Gq6n5Z`18r4Pi7jYG-d#7sf@qs-WxwVbX3$Ei2A#Bm(XUJ@Uj zKyX{Y#iDS3dLHnZ^yTS?Uut0Cx-#lMnzXr+8T;k7iuz6MB%RoH-fFXmOy~Zo} zQEzOCW5kqXxRPFY9#csia-P6H!;GLYa_8l-XSC-x#P>42d^5vLTR24Qj|~|{ZNI2* zY>C5)Zzu1S7uG%mHWUlqXGT<@V3;UfQlY)4{3(x2;u%Fy*sa2gZV?h)p^(5sh zu%o@olWV}iV*yIeZy={Q-2KA^c~{}7VR@_ZBpI+w9%iNKP_J7TfZV$-q~E39?G9E{ zR4juJ=W$0}9N&XU@2GKV=WlYt+9#%-N82NKovce#8O#_DSVg) + diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 3b9979c712b..566a4ad8244 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -291,11 +291,13 @@ diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml index c040583e697..791ea18f465 100644 --- a/addons/website_event/views/event_templates.xml +++ b/addons/website_event/views/event_templates.xml @@ -718,16 +718,6 @@ - - -