Skip to content

Commit

Permalink
Merge pull request #2111 from thostetler/update-proxy-alert
Browse files Browse the repository at this point in the history
Update proxy alert message
  • Loading branch information
thostetler committed Jan 29, 2021
2 parents 0e24fe0 + 322d6ab commit 689c45e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/js/apps/discovery/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,15 @@ define(['config/discovery.config', 'module'], function(config, module) {

// check for is-proxied class, and if present, send alert
if ($('body').hasClass('is-proxied')) {
const msg = `You are using a proxied version of ADS, we recommend you switch to the regular non-proxied URL: <a href="https://ui.adsabs.harvard.edu${location.pathname}" rel="noopener noreferrer">https://ui.adsabs.harvard.edu</a>`;
const msg = `
<p>
You are using a proxied version of ADS, we recommend you switch to the regular non-proxied URL:
<a href="https://ui.adsabs.harvard.edu${location.pathname}" rel="noopener noreferrer">https://ui.adsabs.harvard.edu</a></p>
<p>
Configure authenticated access to publisher content via the Library Link Server in your account
<a href="https://ui.adsabs.harvard.edu/user/settings/librarylink" rel="noopener noreferrer">preferences</a>.
</p>
`;

pubsub.publish(
pubsub.getCurrentPubSubKey(),
Expand Down

0 comments on commit 689c45e

Please sign in to comment.