web/web_environment_ribbon/readme/CONFIGURE.rst

12 lines
737 B
ReStructuredText

* You can change the ribbon's name ("TEST") by editing the default system
parameter "ribbon.name" (in the menu Settings > Parameters > System
Parameters) To hide the ribbon, set this parameter to "False" or delete it.
* 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".
* By appending ".code", you can fill in a Python expression to generate the
ribbon name or colors: "ribbon.name.code" could contain "env.cr.dbname",
which just returns the current database's name.