ajout de stats sur le budget des villes
This commit is contained in:
parent
1973f85dd4
commit
cd8369d08c
14 changed files with 901 additions and 186 deletions
|
@ -16,13 +16,23 @@
|
|||
<i class="bi bi-envelope-fill"></i>
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{% if commerce.email is defined and commerce.email %}
|
||||
<div style="max-width: 350px; white-space: pre-wrap; word-break: break-all;">{{ commerce.email }}</div>
|
||||
{% else %}
|
||||
<span class="text-muted">-</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-right completion-cell"
|
||||
style="background : rgba(0,255,0,{{ commerce.getCompletionPercentage() / 100 }})"
|
||||
data-bs-toggle="popover"
|
||||
data-bs-trigger="hover"
|
||||
data-bs-html="true"
|
||||
data-bs-content="
|
||||
<div class='p-2'>
|
||||
>
|
||||
{{ commerce.getCompletionPercentage() }}
|
||||
|
||||
<div class='p-2'>
|
||||
<h6>Infos manquantes :</h6>
|
||||
<ul class='list-unstyled mb-0'>
|
||||
{% if not commerce.name %}
|
||||
|
@ -45,9 +55,6 @@
|
|||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
"
|
||||
>
|
||||
{{ commerce.getCompletionPercentage() }}
|
||||
</td>
|
||||
<td class="{{ commerce.mainTag ? 'filled' : '' }}">
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
Email
|
||||
</th>
|
||||
<th>
|
||||
<i class="bi bi-envelope-paper"></i>
|
||||
Contenu email
|
||||
</th>
|
||||
<th>
|
||||
<i class="bi bi-circle-fill"></i>
|
||||
Completion %
|
||||
</th>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue