[9.0] [IMP] Web Environment Ribbon: support variables in ribbon name (eg db_name) (#621)

* [ADD] .eggs in gitignore

* [IMP] Web Environment Ribbon: add backend
This commit adds a simple bakend to facilitate inheritance

* [IMP] Web Environment Ribbon: add the databse name
This commit adds the database name under the ribbon name, in the ribbon

* [IMP] Web Environment Ribbon: prepare method for ribbon name

* [IMP] README: explain how to use db_name
This commit is contained in:
Thomas Binsfeld (ACSONE)
2017-05-31 11:25:59 +02:00
committed by Pedro M. Baeza
parent 20a8188dd4
commit f0a37faa69
9 changed files with 78 additions and 23 deletions

View File

@@ -25,6 +25,8 @@ Configuration
* You can customize the ribbon color and background color through system
parameters: "ribbon.color", "ribbon.background.color". Fill with valid CSS
colors or just set to "False" to use default values.
* You can add the database name in the ribbon by adding "{db_name}" in the
system parameter "ribbon.name".
Usage
=====
@@ -53,6 +55,7 @@ Contributors
* Francesco Apruzzese <cescoap@gmail.com>
* Javi Melendez <javimelex@gmail.com>
* Antonio Espinosa <antonio.espinosa@tecnativa.com>
* Thomas Binsfeld <thomas.binsfeld@acsone.eu>
Maintainer
----------