labourage avec davantage d'objets
This commit is contained in:
parent
2965841e81
commit
a412cb977a
11 changed files with 197 additions and 81 deletions
11
templates/admin/stats/row.html.twig
Normal file
11
templates/admin/stats/row.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
<tr>
|
||||
<td style="background-color: {{ commerce.hasAddress() ? 'yellowgreen' : 'transparent' }};">
|
||||
<a href="{{ path('app_admin_commerce', {'id': commerce.id}) }}">{{ commerce.name }}</a>
|
||||
</td>
|
||||
<td style="background-color: {{ commerce.mainTag ? 'yellowgreen' : 'transparent' }};">{{ commerce.mainTag }}</td>
|
||||
<td style="background-color: {{ commerce.hasAddress() ? 'yellowgreen' : 'transparent' }};">{{ commerce.address }}</td>
|
||||
<td style="background-color: {{ commerce.hasWebsite() ? 'yellowgreen' : 'transparent' }};">{{ commerce.website }}</td>
|
||||
<td style="background-color: {{ commerce.hasWheelchair() ? 'yellowgreen' : 'transparent' }};">{{ commerce.wheelchair }}</td>
|
||||
<td style="background-color: {{ commerce.hasNote() ? 'yellowgreen' : 'transparent' }};">{{ commerce.note }}</td>
|
||||
<td style="background-color: {{ commerce.hasNote() ? 'yellowgreen' : 'transparent' }};">{{ commerce.noteContent }}</td>
|
||||
</tr>
|
28
templates/admin/stats/table-head.html.twig
Normal file
28
templates/admin/stats/table-head.html.twig
Normal file
|
@ -0,0 +1,28 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Nom ({{ stats.getPlacesCount() }})</th>
|
||||
<th>
|
||||
<i class="bi bi-tags"></i>
|
||||
Type
|
||||
</th>
|
||||
<th>
|
||||
<i class="bi bi-geo-alt"></i>
|
||||
Adresse ({{ stats.getAvecAdresse() }} / {{ stats.getPlacesCount() }})</th>
|
||||
<th>
|
||||
<i class="bi bi-globe"></i>
|
||||
Site web ({{ stats.getAvecSite() }} / {{ stats.getPlacesCount() }})</th>
|
||||
<th>
|
||||
<i class="bi bi-wheelchair"></i>
|
||||
<i class="bi bi-person-fill-slash"></i>
|
||||
Accès
|
||||
|
||||
PMR
|
||||
({{ stats.getAvecAccessibilite() }} / {{ stats.getPlacesCount() }})</th>
|
||||
<th>
|
||||
<i class="bi bi-pencil-square"></i>
|
||||
Note ? ({{ stats.getAvecNote() }} / {{ stats.getPlacesCount() }})</th>
|
||||
<th>
|
||||
<i class="bi bi-pencil-square"></i>
|
||||
Texte de la note</th>
|
||||
</tr>
|
||||
</thead>
|
Loading…
Add table
Add a link
Reference in a new issue