Skip to content
Extraits de code Groupes Projets
Valider 2d38735f rédigé par Stéphane - Enercoop's avatar Stéphane - Enercoop
Parcourir les fichiers

[UPD] CSS, sticky, portal document nav-tabs

parent fe790372
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<template id='sticky_nav_filters'> <template id='sticky_nav_filters'>
<div <div
class="sticky-top pb-2 bg-white" class="sticky-top2 pb-2 bg-light"
style="border-bottom: 1px solid rgb(244, 230, 236);" style="border-bottom: 1px solid rgb(244, 230, 236);"
> >
<div class="d-block d-md-none"> <div class="d-block d-md-none">
...@@ -38,14 +38,16 @@ ...@@ -38,14 +38,16 @@
<div class="justify-content-between d-flex"> <div class="justify-content-between d-flex">
<t t-if="isAdmin or isSuperAdmin"> <t t-if="isAdmin or isSuperAdmin">
<a <a
class="d-inline-block" class="d-flex align-items-center"
style="font-size: 1.1rem;"
t-attf-href="/web#action=286&amp;model=account.move&amp;view_type=list&amp;menu_id=118" t-attf-href="/web#action=286&amp;model=account.move&amp;view_type=list&amp;menu_id=118"
target="_blank" 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> </a>
</t> </t>
<span <t
t-if="(isProductor or isAdmin or isSuperAdmin or isBillingAgent) and any(invoice.state == 'draft' for invoice in invoices)" t-if="(isProductor or isAdmin or isSuperAdmin or isBillingAgent) and any(invoice.state == 'draft' for invoice in invoices)"
> >
<a <a
...@@ -59,8 +61,8 @@ ...@@ -59,8 +61,8 @@
<span> <span>
Valider toutes les factures brouillon</span> Valider toutes les factures brouillon</span>
</a> </a>
</span> </t>
<span <t
t-if="(isSuperAdmin or isBillingAgent or isAdmin) and billingAgentDefined" t-if="(isSuperAdmin or isBillingAgent or isAdmin) and billingAgentDefined"
> >
...@@ -76,7 +78,7 @@ ...@@ -76,7 +78,7 @@
class="d-none d-md-inline" class="d-none d-md-inline"
>Générer les documents de reddition</span> >Générer les documents de reddition</span>
</a> </a>
</span> </t>
</div> </div>
</div> </div>
</div> </div>
...@@ -88,7 +90,7 @@ ...@@ -88,7 +90,7 @@
<t t-call="oacc_portal.layout_op"> <t t-call="oacc_portal.layout_op">
<div class="row"> <div class="row">
<t t-call="oacc_portal_account.sticky_nav_filters" /> <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 or invoices">
<t t-if="contracts" t-set="invoices_ext" t-value="contracts" /> <t t-if="contracts" t-set="invoices_ext" t-value="contracts" />
<t t-set="partner_label" t-value="'Consommateur'" /> <t t-set="partner_label" t-value="'Consommateur'" />
...@@ -96,7 +98,7 @@ ...@@ -96,7 +98,7 @@
</t> </t>
<t t-else=""> <t t-else="">
<p <p
class="pt-5" class="pt-5 text-center text-muted"
>Il n'y a actuellement aucune facture sur cette opération.</p> >Il n'y a actuellement aucune facture sur cette opération.</p>
</t> </t>
</div> </div>
......
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