diff --git a/templates/operation_templates_page.xml b/templates/operation_templates_page.xml
index 36fdc892938af827f4f76fdf798dc6fcaaebdaa1..16bf836954c0fea82506c28dcfad7486f5bbfed2 100644
--- a/templates/operation_templates_page.xml
+++ b/templates/operation_templates_page.xml
@@ -21,7 +21,7 @@
<template id='sticky_nav_filters'>
<div
- class="sticky-top pb-2 bg-white"
+ class="sticky-top2 pb-2 bg-light"
style="border-bottom: 1px solid rgb(244, 230, 236);"
>
<div class="d-block d-md-none">
@@ -38,14 +38,16 @@
<div class="justify-content-between d-flex">
<t t-if="isAdmin or isSuperAdmin">
<a
- class="d-inline-block"
+ class="d-flex align-items-center"
+ style="font-size: 1.1rem;"
t-attf-href="/web#action=286&model=account.move&view_type=list&menu_id=118"
target="_blank"
>
- <h4><i class="fa fa-gear" /> Gérer les factures</h4>
+ <i class="fa fa-gear me-2" /> <span
+ >Gérer les factures</span>
</a>
</t>
- <span
+ <t
t-if="(isProductor or isAdmin or isSuperAdmin or isBillingAgent) and any(invoice.state == 'draft' for invoice in invoices)"
>
<a
@@ -59,8 +61,8 @@
<span>
Valider toutes les factures brouillon</span>
</a>
- </span>
- <span
+ </t>
+ <t
t-if="(isSuperAdmin or isBillingAgent or isAdmin) and billingAgentDefined"
>
@@ -76,7 +78,7 @@
class="d-none d-md-inline"
>Générer les documents de reddition</span>
</a>
- </span>
+ </t>
</div>
</div>
</div>
@@ -88,7 +90,7 @@
<t t-call="oacc_portal.layout_op">
<div class="row">
<t t-call="oacc_portal_account.sticky_nav_filters" />
- <div class="col-12">
+ <div class="col-12 my-2">
<t t-if="contracts or invoices">
<t t-if="contracts" t-set="invoices_ext" t-value="contracts" />
<t t-set="partner_label" t-value="'Consommateur'" />
@@ -96,7 +98,7 @@
</t>
<t t-else="">
<p
- class="pt-5"
+ class="pt-5 text-center text-muted"
>Il n'y a actuellement aucune facture sur cette opération.</p>
</t>
</div>