1
0
forked from ScoDoc/ScoDoc

cache codes INE/NIP dans bulletin scodoc

This commit is contained in:
Emmanuel Viennet 2021-12-21 15:10:49 +01:00
parent 5e31d3372a
commit ce2ae9340c

View File

@ -9,7 +9,7 @@
<releve-but></releve-but> <releve-but></releve-but>
<script src="/ScoDoc/static/js/releve-but.js"></script> <script src="/ScoDoc/static/js/releve-but.js"></script>
<script> <script>
let dataSrc = "{{bul_url|safe}}"; let dataSrc = "{{bul_url|safe}}";
fetch(dataSrc) fetch(dataSrc)
.then(r => { return r.json() }) .then(r => { return r.json() })
.then(json => { .then(json => {
@ -22,10 +22,9 @@
.dateInscription, .dateInscription,
.numerosEtudiant, .numerosEtudiant,
.dateNaissance{ .dateNaissance{
/*display: none;*/ display: none;
}`; }`;
releve.shadowRoot.appendChild(style); releve.shadowRoot.appendChild(style);
}) })
</script> </script>
{% endblock %} {% endblock %}