[IMP] website: make refresh routes less visible

Primary color lets imagine that it is the primary action to be done to update
the routing. While it is just to refresh the url_from list if you have missing
route (new module installed, ...)

Maybe we should just remove this button at the end.

closes odoo/odoo#66919

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Jeremy Kersten
2021-02-26 10:28:00 +00:00
parent 766717d3fc
commit 2c3106c365
+1 -1
View File
@@ -7,7 +7,7 @@
<form string="Website rewrite Settings">
<header>
<button name="refresh_routes" string="Refresh route's list" type="object"
class="btn-primary"
class="btn-light"
attrs="{'invisible':[('redirect_type', '!=', '308')]}"
/>
</header>