mirror of https://github.com/OCA/web.git
[FIX] web_company_color: Changing just one color fixed
Before it didn't work if just a color was set because it couldn't find "color_navbar_bg_hover". Moreover, in odoo enterprise the navbar background color only worked for the main app menu, now it works for both main app menu and the navbar of the apps.pull/3110/head
parent
2ec83a2933
commit
094698cb0d
|
@ -7,7 +7,7 @@ Web Company Color
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:87a21b4b71e561d5717d2ce03ac4bbd2676df1b82d72d31a19dcbd2b19b27d5d
|
||||
!! source digest: sha256:0d77639a7fc2cad4e3f3eefdb495036be87e1f9487c6601a255ff3b5ec96a071
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{
|
||||
"name": "Web Company Color",
|
||||
"category": "web",
|
||||
"version": "16.0.1.1.0",
|
||||
"version": "16.0.1.2.0",
|
||||
"author": "Alexandre Díaz, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/web",
|
||||
"depends": ["web", "base_sparse_field"],
|
||||
|
|
|
@ -25,6 +25,26 @@ msgid ""
|
|||
" the page."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -45,6 +65,16 @@ msgstr ""
|
|||
msgid "Compute colors from logo"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -55,11 +85,6 @@ msgstr ""
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -69,3 +94,8 @@ msgstr ""
|
|||
#: model:ir.model,name:web_company_color.model_ir_qweb
|
||||
msgid "Qweb"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
|
|
@ -29,6 +29,26 @@ msgstr ""
|
|||
"Sie bitte\n"
|
||||
" die Seite."
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -49,6 +69,16 @@ msgstr "Unternehmensstile"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr "Farben aus Logo generieren"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -59,11 +89,6 @@ msgstr "Navbar-Hintergrundfarbe"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "Navbar Hintergrundfarbe Hover"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "Navbar-Farben"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -74,6 +99,14 @@ msgstr "Navbar Textfarbe"
|
|||
msgid "Qweb"
|
||||
msgstr "Qweb"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "Navbar-Farben"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
|
|
@ -29,6 +29,26 @@ msgstr ""
|
|||
" Para que los cambios surtan efecto, actualice\n"
|
||||
" la página."
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -49,6 +69,16 @@ msgstr "Estilos de compañía"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr "Calcular colores a partir del logo"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -59,11 +89,6 @@ msgstr "Color de fondo de la barra de navegación"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "Desplazamiento del color de fondo de la barra de navegación"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "Colores de la barra de navegación"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -74,6 +99,14 @@ msgstr "Color de texto de la barra de navegación"
|
|||
msgid "Qweb"
|
||||
msgstr "Qweb"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "Colores de la barra de navegación"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
|
|
@ -26,6 +26,26 @@ msgid ""
|
|||
" the page."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -46,6 +66,16 @@ msgstr "Stilovi tvrtke"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -56,11 +86,6 @@ msgstr "Boja pozadine Navigacijske trake"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "Poja pozadine navigacijske trake (hoover)"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "Boje navigacijske trake"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -71,6 +96,14 @@ msgstr "Boja teksta navigacijske trake"
|
|||
msgid "Qweb"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr "SCSS Modif. Vremenski žig"
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "Boje navigacijske trake"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
@ -80,6 +113,3 @@ msgstr ""
|
|||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " Kako bi promjene postale vidljive, molimo \n"
|
||||
#~ " učitajte ponovo ovu stranicu."
|
||||
|
||||
#~ msgid "SCSS Modif. Timestamp"
|
||||
#~ msgstr "SCSS Modif. Vremenski žig"
|
||||
|
|
|
@ -25,6 +25,26 @@ msgid ""
|
|||
" the page."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -45,6 +65,16 @@ msgstr "Stili Aziendali"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -55,11 +85,6 @@ msgstr "Sfondo Barra Navigazione"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "Colore Hover Sfondo Barra Navigazione"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "Colori Barra Navigazione"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -70,6 +95,14 @@ msgstr "Colori Testo Barra Navigazione"
|
|||
msgid "Qweb"
|
||||
msgstr "Qweb"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "Colori Barra Navigazione"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
|
|
@ -29,6 +29,26 @@ msgstr ""
|
|||
"alstublieft\n"
|
||||
" de pagina."
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -49,6 +69,16 @@ msgstr "Bedrijfsstijlen"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr "Genereer kleuren vanuit het logo"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -59,11 +89,6 @@ msgstr "Navigatiebalk Achtergrondkleur"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "Navigatiebalk Achtergrondkleur (als je de muis er overheen beweegt)"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "Navigatiebalk Kleuren"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -74,6 +99,14 @@ msgstr "Navigatiebalk Tekstkleuren"
|
|||
msgid "Qweb"
|
||||
msgstr "Qweb"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "Navigatiebalk Kleuren"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
|
|
@ -21,6 +21,26 @@ msgid ""
|
|||
" the page."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -41,6 +61,16 @@ msgstr ""
|
|||
msgid "Compute colors from logo"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -51,11 +81,6 @@ msgstr ""
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -65,3 +90,8 @@ msgstr ""
|
|||
#: model:ir.model,name:web_company_color.model_ir_qweb
|
||||
msgid "Qweb"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr ""
|
||||
|
|
|
@ -25,6 +25,26 @@ msgid ""
|
|||
" the page."
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg
|
||||
msgid "Button Background Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_bg_hover
|
||||
msgid "Button Background Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_button_text
|
||||
msgid "Button Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Colors"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model,name:web_company_color.model_res_company
|
||||
msgid "Companies"
|
||||
|
@ -45,6 +65,16 @@ msgstr "公司风格"
|
|||
msgid "Compute colors from logo"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text
|
||||
msgid "Link Text Color"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_link_text_hover
|
||||
msgid "Link Text Color Hover"
|
||||
msgstr ""
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_bg
|
||||
msgid "Navbar Background Color"
|
||||
|
@ -55,11 +85,6 @@ msgstr "导航栏背景颜色"
|
|||
msgid "Navbar Background Color Hover"
|
||||
msgstr "导航栏鼠标悬停背景颜色"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model_terms:ir.ui.view,arch_db:web_company_color.view_company_form
|
||||
msgid "Navbar Colors"
|
||||
msgstr "导航栏颜色"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__color_navbar_text
|
||||
msgid "Navbar Text Color"
|
||||
|
@ -70,6 +95,14 @@ msgstr "导航栏文字颜色"
|
|||
msgid "Qweb"
|
||||
msgstr "Qweb"
|
||||
|
||||
#. module: web_company_color
|
||||
#: model:ir.model.fields,field_description:web_company_color.field_res_company__scss_modif_timestamp
|
||||
msgid "SCSS Modif. Timestamp"
|
||||
msgstr "SCSS修改时间戳"
|
||||
|
||||
#~ msgid "Navbar Colors"
|
||||
#~ msgstr "导航栏颜色"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " In order for the changes to take effect, please "
|
||||
|
@ -79,6 +112,3 @@ msgstr "Qweb"
|
|||
#~ "<span class=\"fa fa-info fa-2x\"/>\n"
|
||||
#~ " 为了使更改生效,请刷新\n"
|
||||
#~ " 这个页面。"
|
||||
|
||||
#~ msgid "SCSS Modif. Timestamp"
|
||||
#~ msgstr "SCSS修改时间戳"
|
||||
|
|
|
@ -16,6 +16,7 @@ class ResCompany(models.Model):
|
|||
|
||||
SCSS_TEMPLATE = """
|
||||
.o_main_navbar {
|
||||
background: %(color_navbar_bg)s !important;
|
||||
background-color: %(color_navbar_bg)s !important;
|
||||
color: %(color_navbar_text)s !important;
|
||||
|
||||
|
@ -169,10 +170,7 @@ class ResCompany(models.Model):
|
|||
values.update(
|
||||
{
|
||||
"color_navbar_bg": (values.get("color_navbar_bg") or "$o-brand-odoo"),
|
||||
"color_navbar_bg_hover": (
|
||||
values.get("color_navbar_bg_hover")
|
||||
or "$o-navbar-inverse-link-hover-bg"
|
||||
),
|
||||
"color_navbar_bg_hover": (values.get("color_navbar_bg_hover")),
|
||||
"color_navbar_text": (values.get("color_navbar_text") or "#FFF"),
|
||||
"color_button_bg": values.get("color_button_bg") or "$primary",
|
||||
"color_button_bg_hover": values.get("color_button_bg_hover")
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:87a21b4b71e561d5717d2ce03ac4bbd2676df1b82d72d31a19dcbd2b19b27d5d
|
||||
!! source digest: sha256:0d77639a7fc2cad4e3f3eefdb495036be87e1f9487c6601a255ff3b5ec96a071
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/16.0/web_company_color"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_company_color"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module change navbar colors based in the company logo colors.</p>
|
||||
|
|
Loading…
Reference in New Issue