add suggestions en footer
This commit is contained in:
parent
9eb08073d0
commit
6707385ec9
4 changed files with 14 additions and 12 deletions
|
@ -184,9 +184,7 @@
|
|||
<a href="{{ path('admin_street_completion', {'insee_code': stats.zone}) }}" class="btn btn-outline-success">
|
||||
<i class="bi bi-signpost"></i> Complétion des rues
|
||||
</a>
|
||||
<a href="https://forum.openstreetmap.fr/t/osm-mon-commerce/34403/11" class="btn btn-outline-info ms-auto d-none d-md-inline-block suggestion-float-btn" target="_blank" rel="noopener">
|
||||
<i class="bi bi-chat-dots"></i> Faire une suggestion
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
{% if josm_url %}
|
||||
|
@ -294,7 +292,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="https://forum.openstreetmap.fr/t/osm-mon-commerce/34403/11" class="btn btn-info suggestion-footer-btn mt-4 mb-2" target="_blank" rel="noopener" style="display:none;">
|
||||
<a href="https://forum.openstreetmap.fr/t/osm-mon-commerce/34403/11" class="btn btn-info suggestion-footer-btn mt-4 mb-2" target="_blank" rel="noopener">
|
||||
<i class="bi bi-chat-dots"></i> Faire une suggestion
|
||||
</a>
|
||||
{% endblock %}
|
||||
|
|
|
@ -103,6 +103,10 @@
|
|||
<div class="row">
|
||||
<div class="col-12">
|
||||
<p class="mb-2">
|
||||
<a href="https://forum.openstreetmap.fr/t/osm-mon-commerce/34403/11" class="btn btn-outline-info ms-auto suggestion-float-btn" target="_blank" rel="noopener">
|
||||
<i class="bi bi-chat-dots"></i> Faire une suggestion
|
||||
</a>
|
||||
|
||||
<a href="https://osm-commerces.cipherbliss.com/api/v1/stats_geojson" target="_blank">Documentation de l'API (GeoJSON)</a>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
<td>{{ place.modifiedDate | date('Y-m-d H:i:s') }}</td>
|
||||
<td>{% if place.street %}
|
||||
<a href="{{ path('app_public_street', {'cityId': place.stats ? place.stats.zone : place.zipCode, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||
{% else %}
|
||||
<span class="text-muted">(inconnue)</span>
|
||||
{# {% else %} #}
|
||||
{# <span class="text-muted">(inconnue)</span> #}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ place.zipCode }}</td>
|
||||
|
|
|
@ -70,8 +70,8 @@
|
|||
<small>
|
||||
{% if place.street %}
|
||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||
{% else %}
|
||||
<span class="text-muted">(inconnue)</span>
|
||||
{# {% else %}
|
||||
<span class="text-muted">(inconnue)</span> #}
|
||||
{% endif %}
|
||||
{{ place.housenumber }}
|
||||
</small>
|
||||
|
@ -102,8 +102,8 @@
|
|||
<small>
|
||||
{% if place.street %}
|
||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||
{% else %}
|
||||
<span class="text-muted">(inconnue)</span>
|
||||
{# {% else %}
|
||||
<span class="text-muted">(inconnue)</span> #}
|
||||
{% endif %}
|
||||
{{ place.housenumber }}
|
||||
</small>
|
||||
|
@ -134,8 +134,8 @@
|
|||
<small>
|
||||
{% if place.street %}
|
||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||
{% else %}
|
||||
<span class="text-muted">(inconnue)</span>
|
||||
{# {% else %}
|
||||
<span class="text-muted">(inconnue)</span> #}
|
||||
{% endif %}
|
||||
{{ place.housenumber }}
|
||||
</small>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue