Skip to content
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

fixes: #575 links to change selected Repo #578

Merged
merged 4 commits into from
May 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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();
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works perfectly @on2onyekachi!! Can you just make sure that the indentation is two spaces deep? Thank you!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @TildaDares No, I followed the indentation of the file, all 4spaces. Should I fix all of it, or make it an FTO?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know what let’s leave it that way so it doesn’t look odd.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OKAYY


})();

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 class="text-center"><b>We're so happy to meet you! This page is to welcome n

<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="/#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="https://publiclab.org/notes/warren/10-31-2016/create-a-welcoming-first-timers-only-issue-to-invite-new-software-contributors">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="/#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="https://publiclab.org/notes/warren/10-31-2016/create-a-welcoming-first-timers-only-issue-to-invite-new-software-contributors">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
1 change: 0 additions & 1 deletion src/scripts/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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-display-name").each(function() {
$(this).html(`${data['org-heading-name']}`)
})
Expand Down