join: add OpenCollective field
All checks were successful
/ deploy (push) Successful in 29s

This commit is contained in:
forgejo-actions[bot] 2024-10-08 15:12:32 +00:00
parent 30b4c87910
commit d296e6a244
5 changed files with 14 additions and 19 deletions

View file

@ -1 +1 @@
Tue Oct 8 15:06:48 UTC 2024 Tue Oct 8 15:12:32 UTC 2024

Binary file not shown.

View file

@ -121,13 +121,10 @@
<p>How did you find out about ilot? We want to better understand how people are finding us.</p> <p>How did you find out about ilot? We want to better understand how people are finding us.</p>
<p><textarea id="how-found" name="how-found" rows="10" maxlength="500"></textarea></p> <p><textarea id="how-found" name="how-found" rows="10" maxlength="500"></textarea></p>
<!-- Hide until we get an OpenCollective account going
<h2 id="open-collective">Open Collective:</h2> <h2 id="open-collective">Open Collective:</h2>
<p>Contributing through <a href="https://opencollective.com/ilotio">Open Collective</a> is a condition <p>Contributing through <a href="https://opencollective.com/ilot">Open Collective</a> is a strongly encouraged. We use this platform to manage our finances, thus applicants must have an existing Open Collective profile, which can be set up <a href="https://opencollective.com/create-account">here</a>.</p>
of membership, so applicants must have an existing Open Collective profile, which can be set up <a href="https://opencollective.com/create-account">here</a>.</p>
<p><label for="oc-user">Link to your OpenCollective profile</label> <p><label for="oc-user">Link to your OpenCollective profile</label>
<input id="oc-user" name="oc-user" type="text" required maxlength="50"></p> <input id="oc-user" name="oc-user" type="text" required maxlength="50"></p>
-->
<h2 id="code-of-conduct">Code of Conduct:</h2> <h2 id="code-of-conduct">Code of Conduct:</h2>
<p>New members must also agree to our <a href="../meta/code-of-conduct/">Code of Conduct</a> and must be over the age of consent.</p> <p>New members must also agree to our <a href="../meta/code-of-conduct/">Code of Conduct</a> and must be over the age of consent.</p>

View file

@ -136,17 +136,16 @@ gens nous trouvent.</p>
<p><textarea id="how-found" name="how-found" rows="10" <p><textarea id="how-found" name="how-found" rows="10"
maxlength="500"></textarea></p> maxlength="500"></textarea></p>
<h2 id="open-collective">Open Collective:</h2>
<p>Faire une contribution à travers <a href="https://opencollective.com/ilot">Open
Collectivee</a> est fortement encouragé. Nous
utilisons cette plateforme pour gêrer nos finances. Or vous devez avoir un
profile Open Collective, qui peut être créé
<a href="https://opencollective.com/create-account">ici</a>.</p>
<p><label for="oc-user">Link to your OpenCollective profile</label> <input
id="oc-user" name="oc-user" type="text" required maxlength="50"></p>
<h2 id="code-of-conduct">Code de conduite:</h2>
<!-- Hide until we get an OpenCollective account going
<h2 id="open-collective">
Open Collective:</h2>
<p>Contributing through <a href="https://opencollective.com/ilotio">Open Collective</a> is a condition
of membership, so applicants must have an existing Open Collective profile, which can be set up <a href="https://opencollective.com/create-account">here</a>.</p>
<p><label for="oc-user">Link to your OpenCollective profile</label>
<input id="oc-user" name="oc-user" type="text" required maxlength="50"></p>
-->
<h2 id="code-of-conduct">Code de conduite:</h2>
<p>Les nouveaux membres doivent également accepter notre <span class="createlink">Code de <p>Les nouveaux membres doivent également accepter notre <span class="createlink">Code de
conduite</span> et doivent avoir atteint l'âge du conduite</span> et doivent avoir atteint l'âge du
consentement.</p> consentement.</p>

View file

@ -53,10 +53,9 @@
var howfound = document.getElementById("how-found").value; var howfound = document.getElementById("how-found").value;
var howfound = howfound.replace (/^/,'How I found ilot: '); var howfound = howfound.replace (/^/,'How I found ilot: ');
var howfound = howfound.replace(/\r?\n/g, "%0A%0A"); var howfound = howfound.replace(/\r?\n/g, "%0A%0A");
// add back on oc is setup var ocuser = document.getElementById("oc-user").value;
// var ocuser = document.getElementById("oc-user").value; var ocuser = ocuser.replace (/^/,'OpenCollective Profile: ');
// var ocuser = ocuser.replace (/^/,'OpenCollective Profile: '); var description = name + "%0A%0A" + aboutme + "%0A%0A" + howfound + "%0A%0A" + ocuser;
// var description = name + "%0A%0A" + aboutme + "%0A%0A" + howfound + "%0A%0A" + ocuser;
var description = name + "%0A%0A" + aboutme + "%0A%0A" + howfound; var description = name + "%0A%0A" + aboutme + "%0A%0A" + howfound;
var url = baseurl.concat("&title=", email, "&description=", description); var url = baseurl.concat("&title=", email, "&description=", description);
console.log('Description:', description); console.log('Description:', description);