mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-06-20 01:44:42 +02:00
lister les commerces avec une note
This commit is contained in:
parent
cae369c9cd
commit
42b345844e
5 changed files with 32 additions and 12 deletions
|
@ -103,18 +103,24 @@
|
|||
|
||||
</form>
|
||||
|
||||
<div class="actions-modification">
|
||||
<button id="showAllFields" class="btn btn-secondary mx-4">
|
||||
<i class="bi bi-eye"></i>
|
||||
Voir aussi les champs déjà remplis
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 mt-4">
|
||||
<div class="actions-modification">
|
||||
<button id="showAllFields" class="btn btn-secondary mx-4">
|
||||
<i class="bi bi-eye"></i>
|
||||
Voir aussi les champs déjà remplis
|
||||
</button>
|
||||
|
||||
<button id="closedCommerce" class="btn btn-danger mx-4">
|
||||
<i class="bi bi-x-circle"></i>
|
||||
Je souhaite signaler que ce commerce est fermé
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
Je souhaite signaler que ce commerce est fermé
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div id="wheelchair">
|
||||
<h2><i class="bi bi-person-wheelchair"></i> {{ 'display.wheelchair'|trans }}</h2>
|
||||
<div class="row mb-3 p-4">
|
||||
<div class="col-md-5">
|
||||
<div class="col-12">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="commerce_tag_value__wheelchair" id="wheelchair_empty" value="" {% if commerce_overpass.tags_converted.wheelchair is not defined or commerce_overpass.tags_converted.wheelchair == '' %}checked{% endif %}>
|
||||
<label class="form-check-label" for="wheelchair_empty">
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
<i class="bi bi-x-circle-fill"></i>
|
||||
{{ 'display.closed_commerces'|trans }}</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ path('app_public_places_with_note') }}">
|
||||
<i class="bi bi-file-earmark-text"></i>
|
||||
{{ 'display.places_with_note'|trans }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Code postal</th>
|
||||
<th>Note</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
|
@ -16,9 +17,16 @@
|
|||
<tbody>
|
||||
{% for place in places %}
|
||||
<tr>
|
||||
<td><a href="{{ path('app_public_edit', {'id': place.id}) }}">{{ place.name }}</a></td>
|
||||
<td><a href="{{ path('app_admin_commerce', {'id': place.id}) }}">{{ place.name }}
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{{place.zipcode}}
|
||||
</td>
|
||||
<td>{{ place.note }}</td>
|
||||
<td><a class="btn btn-primary" href="{{ path('app_public_edit', {'id': place.id}) }}">
|
||||
<td><a class="btn btn-primary" href="{{ path('app_admin_commerce', {'id': place.id}) }}">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a></td>
|
||||
</tr>
|
||||
|
@ -26,3 +34,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue