-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QA] unpkg plus fiable #2462
[QA] unpkg plus fiable #2462
Conversation
|
{% endif %} | ||
{% if 'back_signalement_view' in app.request.get('_route') %} | ||
<script src="https://unpkg.com/@popperjs/core@2"></script> | ||
<script src="https://unpkg.com/tippy.js@6"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'avais d'abord essayé, mais des erreurs "exports is not defined"
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2"></script>
<script src="https://cdn.jsdelivr.net/npm/tippy.js@6"></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.Default.css"/> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.css"/> | ||
{% if 'back_cartographie' in app.request.get('_route') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaflet n'est plus utilisé sur la page de signalement
{% if 'back_cartographie' in app.request.get('_route') or 'back_signalement_view' in app.request.get('_route') %} | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.markercluster.js"></script> | ||
{% if 'back_cartographie' in app.request.get('_route') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaflet n'est plus utilisé sur la page de signalement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lecture et test ok
J'ai ajouté un com dans les pré-requis de la PR.
Il faut régler SonarCloud
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lecture et test OK
Ticket
#2461
Description
Changement de cdn pour les librairies js leaflet, popper et tippy
Changements apportés
Pré-requis
[edit] Modifier
SECURITY_CSP_HEADER_VALUE
dans.env.local
Tests