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">
|
<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
|
<i class="bi bi-signpost"></i> Complétion des rues
|
||||||
</a>
|
</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>
|
</div>
|
||||||
|
|
||||||
{% if josm_url %}
|
{% if josm_url %}
|
||||||
|
@ -294,7 +292,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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
|
<i class="bi bi-chat-dots"></i> Faire une suggestion
|
||||||
</a>
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -103,6 +103,10 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<p class="mb-2">
|
<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>
|
<a href="https://osm-commerces.cipherbliss.com/api/v1/stats_geojson" target="_blank">Documentation de l'API (GeoJSON)</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
<td>{{ place.modifiedDate | date('Y-m-d H:i:s') }}</td>
|
<td>{{ place.modifiedDate | date('Y-m-d H:i:s') }}</td>
|
||||||
<td>{% if place.street %}
|
<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>
|
<a href="{{ path('app_public_street', {'cityId': place.stats ? place.stats.zone : place.zipCode, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||||
{% else %}
|
{# {% else %} #}
|
||||||
<span class="text-muted">(inconnue)</span>
|
{# <span class="text-muted">(inconnue)</span> #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ place.zipCode }}</td>
|
<td>{{ place.zipCode }}</td>
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
<small>
|
<small>
|
||||||
{% if place.street %}
|
{% if place.street %}
|
||||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||||
{% else %}
|
{# {% else %}
|
||||||
<span class="text-muted">(inconnue)</span>
|
<span class="text-muted">(inconnue)</span> #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ place.housenumber }}
|
{{ place.housenumber }}
|
||||||
</small>
|
</small>
|
||||||
|
@ -102,8 +102,8 @@
|
||||||
<small>
|
<small>
|
||||||
{% if place.street %}
|
{% if place.street %}
|
||||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||||
{% else %}
|
{# {% else %}
|
||||||
<span class="text-muted">(inconnue)</span>
|
<span class="text-muted">(inconnue)</span> #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ place.housenumber }}
|
{{ place.housenumber }}
|
||||||
</small>
|
</small>
|
||||||
|
@ -134,8 +134,8 @@
|
||||||
<small>
|
<small>
|
||||||
{% if place.street %}
|
{% if place.street %}
|
||||||
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
<a href="{{ path('app_public_street', {'cityId': stats.zone, 'streetName': place.street|url_encode }) }}">{{ place.street }}</a>
|
||||||
{% else %}
|
{# {% else %}
|
||||||
<span class="text-muted">(inconnue)</span>
|
<span class="text-muted">(inconnue)</span> #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ place.housenumber }}
|
{{ place.housenumber }}
|
||||||
</small>
|
</small>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue