Skip to content
Extraits de code Groupes Projets
Valider f9e0693e rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[UPD] breadcrumbs name

parent b6eeced1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -45,7 +45,8 @@ class CustomerPortal(CustomerPortal): ...@@ -45,7 +45,8 @@ class CustomerPortal(CustomerPortal):
render_values.update( render_values.update(
{ {
"page_name": "Vue globale", "page_name": "pmo-view",
"page_breadcrumbs": "Vue globale",
"scale": "month", "scale": "month",
} }
) )
...@@ -71,7 +72,8 @@ class CustomerPortal(CustomerPortal): ...@@ -71,7 +72,8 @@ class CustomerPortal(CustomerPortal):
render_values.update( render_values.update(
{ {
"partners": partner_ids, "partners": partner_ids,
"page_name": "Suivi conso", "page_name": "conso",
"page_breadcrumbs": "Suivi consommation",
"scale": "month", "scale": "month",
} }
) )
...@@ -99,7 +101,8 @@ class CustomerPortal(CustomerPortal): ...@@ -99,7 +101,8 @@ class CustomerPortal(CustomerPortal):
render_values.update( render_values.update(
{ {
"partners": partner_ids, "partners": partner_ids,
"page_name": "Suivi production", "page_name": "prod",
"page_breadcrumbs": "Suivi production",
"scale": "month", "scale": "month",
} }
) )
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
> >
<a <a
t-attf-href="/operation/#{slug(operation)}/pmo" t-attf-href="/operation/#{slug(operation)}/pmo"
t-att-class="'nav-link %s' % ('active' if page_name == 'Vue globale' else '')" t-att-class="'nav-link %s' % ('active' if page_name == 'pmo-view' else '')"
> >
Vue Globale Vue Globale
</a> </a>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
> >
<a <a
t-attf-href="/operation/#{slug(operation)}/consumer" t-attf-href="/operation/#{slug(operation)}/consumer"
t-att-class="'nav-link %s' % ('active' if page_name == 'Suivi conso' else '')" t-att-class="'nav-link %s' % ('active' if page_name == 'conso' else '')"
> >
Mon suivi conso Mon suivi conso
</a> </a>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
> >
<a <a
t-attf-href="/operation/#{slug(operation)}/productor" t-attf-href="/operation/#{slug(operation)}/productor"
t-att-class="'nav-link %s' % ('active' if page_name == 'Suivi production' else '')" t-att-class="'nav-link %s' % ('active' if page_name == 'prod' else '')"
> >
Mon suivi production Mon suivi production
</a> </a>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter