Skip to content

Commit 23bb9a5

Browse files
committed
feat: ✨ workspace menu has link to docs page for switching
1 parent dfa6c42 commit 23bb9a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

preload.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ const addBfAccount = async (ev, verifyingOrganization = False) => {
958958
if (verifyingOrganization) {
959959
titleText = `<h3 style="text-align:center">Grant SODA access to your current workspace</h3><p class="tip-content" style="margin-top: .5rem">Your email and password will not be saved and not seen by anyone.</p>`;
960960
}
961+
961962
let footerText = `<a target="_blank" href="https://docs.sodaforsparc.io/docs/how-to/how-to-get-a-pennsieve-account" style="text-decoration: none;">I don't have a Pennsieve account</a>`;
962963
if (verifyingOrganization) {
963964
footerText = "";
@@ -1813,7 +1814,8 @@ const openDropdownPrompt = async (ev, dropdown, show_timer = true) => {
18131814
showCancelButton: true,
18141815
title: `<h3 style="text-align:center">To switch your organization please provide your email and password</h3><p class="tip-content" style="margin-top: .5rem">Your email and password will not be saved and not seen by anyone.</p>`,
18151816
html: `<input type="text" id="ps_login" class="swal2-input" placeholder="Email Address for Pennsieve">
1816-
<input type="password" id="ps_password" class="swal2-input" placeholder="Password">`,
1817+
<input type="password" id="ps_password" class="swal2-input" placeholder="Password">
1818+
<p class="tip-content"> If you are using ORCID to sign in to Pennsieve view the official SODA docs <a href="https://docs.sodaforsparc.io/docs/how-to/how-to-use-workspaces" target="_blank">here</a> to learn how to change your workspace in SODA. </p>`,
18171819
showClass: {
18181820
popup: "animate__animated animate__fadeInDown animate__faster",
18191821
},

0 commit comments

Comments
 (0)