Skip to content

Commit

Permalink
Merge pull request #194 from Jean-BaptisteC/inscription
Browse files Browse the repository at this point in the history
Mise à jour de la page inscription
  • Loading branch information
bristow authored May 23, 2024
2 parents 082b9e6 + cde8ccf commit bd53715
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions 2024/src/html/pages/inscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
<h1 class="card-title">Inscription</h1>
<p class="mt-3 text-secondary fst-italic fs-6">
Si vous rencontrez des problèmes pour vous inscrire avec cette page, utilisez
<!--<a href="https://openstreetmap.assoconnect.com/collect/description/303968-b-state-of-the-map-france-2023">ce
lien</a>-->
<a href="https://openstreetmap.assoconnect.com/collect/description/404597-b-state-of-the-map-france-2024">ce
lien</a>
</p>
<p>
Si vous ne l'avez pas déjà fait, cliquez sur le bouton jaune «&nbsp;<em>Je participe !</em>&nbsp;» pour vous
inscrire.
inscrire à l'événement.
</p>

<!--<iframe id="iframe_assoconnect"
src="https://openstreetmap.assoconnect.com/collect/description/303968-b-state-of-the-map-france-2023?iframe=1"
<iframe id="iframe_assoconnect"
src="https://openstreetmap.assoconnect.com/collect/description/404597-b-state-of-the-map-france-2024?iframe=1"
width="100%" style="overflow: hidden; border: 0; max-height: none;" scrolling="no"
onload="window.location.href='#iframe_assoconnect'"></iframe>-->
onload="window.location.href='#iframe_assoconnect'"></iframe>

<script>
window.addEventListener("message", function (event) {
Expand All @@ -43,6 +43,10 @@ <h1 class="card-title">Inscription</h1>
});
</script>
</div>
<div class="container">
<p><a href="https://openstreetmap.assoconnect.com/collect/description/60809-u-adherez-a-openstreetmap-france?header=%2Fpage%2F84624-adherer-en-ligne">Adhérez à l'association OpenStreetMap France</a></p>
<p><a href="https://openstreetmap.assoconnect.com/collect/description/61684-j-faites-un-don-a-openstreetmap-france?header=%2Fpage%2F580542-faire-un-don-en-ligne">Faire un don à l'association OpenStreetMap France</a></p>
</div>
</section>

{% endblock %}
2 changes: 1 addition & 1 deletion 2024/src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $(function () {
});

// cacher dynamiquement les éléments de la navigation
const navToHide = ['contribution.html', 'inscription.html'];
const navToHide = ['contribution.html'];
$('.nav-link').each(function () {
//console.debug($(this).text() + " | href=" + $(this).attr("href"));
if (navToHide.includes($(this).attr('href')))
Expand Down

0 comments on commit bd53715

Please sign in to comment.