Skip to content

Commit

Permalink
fixed links to change selected Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
on2onyekachi committed May 13, 2022
1 parent de13faa commit abcd55c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions examples/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ document.addEventListener('DOMContentLoaded', function () {
})
})



$('.org-wide-issues').on('click', ()=>{
location.href = $('.org-wide-issues').attr("href")
location.reload();
})

})();

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h4 style="text-align:center;font-weight:bold;">We're so happy to meet you! This

<p>Our community aspires to be a respectful place. Please read and abide by our <a id="codeofconduct" href="https://publiclab.org/conduct">Code of Conduct</a>.</p>

<p>To explore issues across the entire organization, check out <a id="org-wide-issues" href="https://code.publiclab.org/#r=all"><span class="org-display-name">Public Lab</span> issues</a>.</p>
<p>To explore issues across the entire organization, check out <a class="org-wide-issues" href="https://code.publiclab.org/#r=all"><span class="org-display-name">Public Lab</span> issues</a>.</p>
</div>

<div class="col-md-6">
Expand Down Expand Up @@ -212,7 +212,7 @@ <h2><span class=" newcomer-issues" id="fto-issue-D">first timers only</span> iss

<div class="row first-timers-only"></div>

<p>No issues left? See <a href="/#r=all">issues across this org here</a>, and see the almost-as-good "<span class=" newcomer-like-issues">candidates</span>" below. Or learn how to <a href="">prepare new <b><span id="issue-label-for-newcomer">first-timers-only</span> </b> issues here</a>.</p>
<p>No issues left? See <a class="org-wide-issues" href="https://code.publiclab.org/#r=all">issues across this org here</a>, and see the almost-as-good "<span class=" newcomer-like-issues">candidates</span>" below. Or learn how to <a href="">prepare new <b><span id="issue-label-for-newcomer">first-timers-only</span> </b> issues here</a>.</p>

<h2 id="whats-next">What's next?</h2>

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.addEventListener('DOMContentLoaded', (e)=> {
$('#favicon').attr("href", `${data['favicon-link']}`)
$('#forkMe-ribbon').attr("href", `${data['forkMe-ribbon-link']}`)
$('#codeofconduct').attr("href", `${data['code-of-conduct-link']}`)
$('#org-wide-issues').attr("href", `${data['URL']}/#r=all`)
$('.org-wide-issues').attr("href", `${data['URL']}/#r=all`)
$(".org-display-name").each(function() {
$(this).html(`${data['org-heading-name']}`)
})
Expand Down

0 comments on commit abcd55c

Please sign in to comment.